Where can I find global limit for gcloud build step timeout?
This is my gcloud build config:
steps:
- name: 'gcr.io/cloud-builders/yarn'
- name: 'gcr.io/cloud-builders/yarn'
args: ['build-nginx-config']
- name: 'gcr.io/cloud-builders/yarn'
args: ['build']
timeout: 3601s
...
timeout: 7200s
And this is what I get when I try to run this build:
[10:41:45]ERROR: (gcloud.builds.submit) INVALID_ARGUMENT: invalid build:
invalid timeout in build step #2:
build step timeout "1h0m1s" must be <= build timeout "1h0m0s"
So somewhere we have setup max for step timeout and I cannot find this place. Any advice?
UPD so it looks like build step timeout cannot be more than 1h.
But you can skip it completely and in this case step timeout is unlimited. The only limit remaining - is the overall build timeout limit.