Google Cloud Container Builder timeout

google-cloud-platformkubernetes

The Google Cloud Container Builder API documentation says that you are able to set the timeout through the API.

Our build are triggered by webhooks, meaning that the API is irellevant for us. Is there a way to set the build timeout on automatically triggered builds?

Best Answer

For build triggers, you can specify the same parameters as a build resource in your cloudbuild.yaml, which includes the timeout parameter. For example:

steps:
- name: 'ubuntu'
  args: ['./binary', 'rawdata.tgz']

timeout: 1200s