Skip to content

Commit

Permalink
gh/workflows: Create K8s before waiting for img in ci-ipsec-upgrade
Browse files Browse the repository at this point in the history
Small optimization.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
  • Loading branch information
brb committed Aug 9, 2023
1 parent 1710ccc commit 2cc36c4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tests-ipsec-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,6 @@ jobs:
cmd: |
git config --global --add safe.directory /host
- name: Wait for images to be available
timeout-minutes: 10
shell: bash
run: |
for image in cilium-ci operator-generic-ci hubble-relay-ci ; do
until docker manifest inspect quay.io/${{ env.QUAY_ORGANIZATION_DEV }}/$image:${{ steps.vars.outputs.sha }} &> /dev/null; do sleep 45s; done
done
- name: Setup K8s cluster (${{ matrix.name }})
uses: cilium/little-vm-helper@908ab1ff8a596a03cd5221a1f8602dc44c3f906d # v0.0.12
with:
Expand All @@ -222,6 +214,14 @@ jobs:
mkdir -p cilium-junits
- name: Wait for images to be available
timeout-minutes: 10
shell: bash
run: |
for image in cilium-ci operator-generic-ci hubble-relay-ci ; do
until docker manifest inspect quay.io/${{ env.QUAY_ORGANIZATION_DEV }}/$image:${{ steps.vars.outputs.sha }} &> /dev/null; do sleep 45s; done
done
- name: Install Cilium ${{ env.cilium_stable_version }} (${{ matrix.name }})
uses: cilium/little-vm-helper@908ab1ff8a596a03cd5221a1f8602dc44c3f906d # v0.0.12
with:
Expand Down

0 comments on commit 2cc36c4

Please sign in to comment.