2

I try to create a deployment in GKE from BitBucket repository with "New container image" option.

Create a deployment Building a container image

But I receive ERROR: Timed out when my container is building.

Execution details Timed out error

Additionaly I tryed to set params, but it did not help:

gcloud config set app/cloud_build_timeout 1600
gcloud config set builds/timeout 1600
gcloud config set container/build_timeout 1600

How can I change the limit in Cloud Build ws GKE if I don't have access to cloudbuild.yaml config file with GKE Workloads pipeline?

  • For the non GKE, check out this other thread: https://stackoverflow.com/questions/42727071/google-cloud-build-timing-out – jobwat May 11 '22 at 13:22

1 Answers1

0

Built in feature use default parameters that you can't override.

If you have a too long container to build, trigger a Cloud Build to build your container separately, with the appropriate timeout, and then deploy this container on GKE.

Industrial solution build and deploy in the same time, in the same Cloud Build.

guillaume blaquiere
  • 66,369
  • 2
  • 47
  • 76