Reputation: 5655
Hi I am submitting a config for cloud build but it keeps timing out.
gcloud builds submit --config cloudbuild.yaml . --timeout=500s
The timeout message is as follows
Your build timed out. Use the [--timeout=DURATION] flag to change the timeout threshold.
ERROR: (gcloud.builds.submit) build 283b72fa-cef1-425d-b21e-7bf653d22e4b completed with status "TIMEOUT"
Upvotes: 3
Views: 2533
Reputation: 996
You could try a couple of things:
--timeout
flag, add the timeout
field inside the cloudbuild.yaml
. You can either do that for each step or for the whole build. Here you can find more information about how to create a configuration file.Upvotes: 3