I am using Google Cloud build. But my setup is getting quite slow.
Im experimenting with using caching, but I also want to try and use a faster machine for my builds.
Therefore I specified the following in my cloudbuilds.yaml file
options:
machineType: "E2_HIGHCPU_32"
However, when I try to build I am getting the following error:
FAILED_PRECONDITION: generic::failed_precondition: due to quota restrictions, cannot run builds of this machine type in this region
I tried to increase the quota, but cannot figure out which one it is or how its done.
I am using the region europe-west1 for my builds.
Can anybody help me solve this?
Create a new build trigger or modify the existing trigger and make sure you leave out the region as "global" instead of "europe-west1" or whatever your specific region is.
Also, go to cloudbuild settings & under the WORKER POOL tab create a private pool machine that matches the machine type you specified in your cloudbuild.yaml file