Skip to content

Commit

Permalink
.github/workflows: unify time to wait for images to become available
Browse files Browse the repository at this point in the history
Currently, some workflows use a timeout of 10 minutes when waiting for
images to be built and become available on quay. However, when there are
lots of open PRs and thus image builds, this timeout is occasionally
hit in CI. Thus, consistently bump the timeout to 30 minutes which is
already used in some workflows.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
  • Loading branch information
tklauser committed Sep 1, 2023
1 parent 2bd2a36 commit 02e6687
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conformance-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ jobs:
--name ${{ env.name }}
- name: Wait for images to be available
timeout-minutes: 10
timeout-minutes: 30
shell: bash
run: |
for image in cilium-ci operator-azure-ci hubble-relay-ci ; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-aws-cni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ jobs:
kubectl apply -f https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/release-1.11/config/master/aws-k8s-cni.yaml
- name: Wait for images to be available
timeout-minutes: 10
timeout-minutes: 30
shell: bash
run: |
for image in cilium-ci operator-generic-ci hubble-relay-ci ; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-clustermesh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ jobs:
kubectl --context ${{ env.contextName2 }} patch deployment -n kube-system coredns --patch="$COREDNS_PATCH"
- name: Wait for images to be available
timeout-minutes: 10
timeout-minutes: 30
shell: bash
run: |
for image in cilium-ci operator-generic-ci hubble-relay-ci clustermesh-apiserver-ci ; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ jobs:
git config --global --add safe.directory /host
- name: Wait for images to be available
timeout-minutes: 10
timeout-minutes: 30
shell: bash
run: |
for image in cilium-ci operator-generic-ci hubble-relay-ci ; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ jobs:
kubectl -n kube-system delete daemonset aws-node
- name: Wait for images to be available
timeout-minutes: 10
timeout-minutes: 30
shell: bash
run: |
for image in cilium-ci operator-aws-ci hubble-relay-ci ; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-externalworkloads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ jobs:
gcloud container clusters get-credentials ${{ env.clusterName }} --zone ${{ matrix.zone }}
- name: Wait for images to be available
timeout-minutes: 10
timeout-minutes: 30
shell: bash
run: |
for image in cilium-ci operator-generic-ci hubble-relay-ci clustermesh-apiserver-ci ; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-ginkgo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
uses: ./.github/actions/set-env-variables

- name: Wait for images to be available
timeout-minutes: 10
timeout-minutes: 30
shell: bash
run: |
for image in cilium-ci operator-generic-ci hubble-relay-ci ; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ jobs:
gcloud container clusters get-credentials ${{ env.clusterName }}-${{ matrix.config.index }} --zone ${{ matrix.k8s.zone }}
- name: Wait for images to be available
timeout-minutes: 10
timeout-minutes: 30
shell: bash
run: |
for image in cilium-ci operator-generic-ci hubble-relay-ci ; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-ipsec-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ jobs:
git config --global --add safe.directory /host
- name: Wait for images to be available
timeout-minutes: 10
timeout-minutes: 30
shell: bash
run: |
for image in cilium-ci operator-generic-ci hubble-relay-ci ; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-k8s-network-policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
fi
- name: Wait for images to be available
timeout-minutes: 10
timeout-minutes: 30
shell: bash
run: |
until docker manifest inspect quay.io/${{ env.QUAY_ORGANIZATION_DEV }}/cilium-ci:${{ steps.vars.outputs.tag }} &> /dev/null; do sleep 45s; done
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-ipsec-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ jobs:
mkdir -p cilium-junits
- name: Wait for images to be available
timeout-minutes: 10
timeout-minutes: 30
shell: bash
run: |
for image in cilium-ci operator-generic-ci hubble-relay-ci ; do
Expand Down

0 comments on commit 02e6687

Please sign in to comment.