From 9d13631dcb0100cd04fffe2470cee0b2e9dc15d4 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Tue, 9 Jul 2024 12:35:33 +0300 Subject: [PATCH] cloudbuild: increase the image build timeout Attempt to fix occasional (rare) build failures. --- cloudbuild.yaml | 2 +- scripts/test-infra/test-e2e.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index c975b0e85..da6d0d2bf 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -1,4 +1,4 @@ -timeout: 2000s +timeout: 3000s steps: - name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90 entrypoint: scripts/test-infra/push-image.sh diff --git a/scripts/test-infra/test-e2e.sh b/scripts/test-infra/test-e2e.sh index 9aa8ed522..80eeaed22 100755 --- a/scripts/test-infra/test-e2e.sh +++ b/scripts/test-infra/test-e2e.sh @@ -27,7 +27,7 @@ i=1 while true; do if make poll-images; then break - elif [ $i -ge 35 ]; then + elif [ $i -ge 55 ]; then echo "ERROR: too many tries when polling for image" exit 1 fi