Skip to content

Commit

Permalink
cloudbuild.yaml: decrease timeout to 25 minutes
Browse files Browse the repository at this point in the history
Build time decreased dramatically after upgrading the builder machine
type.
  • Loading branch information
marquiz committed Jan 21, 2022
1 parent c8359fa commit e674631
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
timeout: 4800s
timeout: 1500s
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90
entrypoint: scripts/test-infra/push-image.sh
Expand Down
4 changes: 2 additions & 2 deletions scripts/test-infra/test-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ i=1
while true; do
if make poll-images; then
break
elif [ $i -ge 50 ]; then
elif [ $i -ge 27 ]; then
echo "ERROR: too many tries when polling for image"
exit 1
fi
sleep 100
sleep 60

i=$(( $i + 1 ))
done
Expand Down

0 comments on commit e674631

Please sign in to comment.