Skip to content

Commit

Permalink
Revert "ci: init kind cluster before build finish"
Browse files Browse the repository at this point in the history
This reverts commit 6719ee2.
  • Loading branch information
oilbeater committed Nov 4, 2021
1 parent 645c9d7 commit 52ec0af
Showing 1 changed file with 15 additions and 120 deletions.
135 changes: 15 additions & 120 deletions .github/workflows/build-x86-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
path: vpc-nat-gateway.tar

single-e2e:
needs: build
name: 1-master-e2e
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -95,14 +96,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -132,6 +125,7 @@ jobs:
sh dist/images/cleanup.sh
single-iptables-e2e:
needs: build
name: 1-master-iptables-e2e
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -151,14 +145,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init-iptables
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -188,6 +174,7 @@ jobs:
sh dist/images/cleanup.sh
single-vlan-e2e:
needs: build
name: 1-master-vlan-e2e
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -207,14 +194,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -244,6 +223,7 @@ jobs:
sh dist/images/cleanup.sh
single-underlay-e2e-single-nic:
needs: build
name: 1-master-underlay-e2e-single-nic
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -263,14 +243,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -316,6 +288,7 @@ jobs:
'
single-node-e2e:
needs: build
name: 1-node-e2e
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -335,14 +308,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init-single
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -372,6 +337,7 @@ jobs:
sh dist/images/cleanup.sh
ha-e2e:
needs: build
name: 3-master-e2e
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -391,14 +357,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init-ha
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand All @@ -410,6 +368,7 @@ jobs:
sudo make kind-install
ipv6-e2e:
needs: build
name: ipv6-e2e
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -429,14 +388,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init-ipv6
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -470,6 +421,7 @@ jobs:
sh dist/images/cleanup.sh
ipv6-vlan-e2e:
needs: build
name: ipv6-vlan-e2e
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -489,14 +441,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init-ipv6
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -530,6 +474,7 @@ jobs:
sh dist/images/cleanup.sh
ipv6-underlay-e2e-single-nic:
needs: build
name: ipv6-underlay-e2e-single-nic
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -549,14 +494,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init-ipv6
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -606,6 +543,7 @@ jobs:
'
dual-stack-e2e:
needs: build
name: dual-stack-e2e
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -625,14 +563,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init-dual
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -666,6 +596,7 @@ jobs:
sh dist/images/cleanup.sh
dual-stack-underlay-e2e-single-nic:
needs: build
name: dual-stack-underlay-e2e-single-nic
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -685,14 +616,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init-dual
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -742,6 +665,7 @@ jobs:
'
dual-stack-underlay-logical-gw-e2e:
needs: build
name: dual-stack-underlay-logical-gateway-e2e
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -761,14 +685,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init-dual
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -818,6 +734,7 @@ jobs:
'
no-lb-e2e:
needs: build
name: disable-loadbalancer-e2e
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -837,14 +754,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -876,6 +785,7 @@ jobs:
sh dist/images/cleanup.sh
no-lb-iptables-e2e:
needs: build
name: disable-loadbalancer-iptables-e2e
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -895,14 +805,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init-iptables
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -934,6 +836,7 @@ jobs:
sh dist/images/cleanup.sh
no-np-e2e:
needs: build
name: disable-network-policy-e2e
runs-on: ubuntu-18.04
timeout-minutes: 30
Expand All @@ -953,14 +856,6 @@ jobs:
pip install "j2cli[yaml]" --user
sudo PATH=~/.local/bin:$PATH make kind-init
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build x86
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Download image
uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit 52ec0af

Please sign in to comment.