I am setting up a basic pipeline using Cloud Build, based on a Github trigger but running into the following error:
Your build failed to run: generic::failed_precondition: generic::failed_precondition: no concurrent builds quota available to create builds
I checked:
Requested entity was not found
, which leads me into thinking that this was a wrong assumption and therefore not a cause for trouble.My cloudbuild.json FYI:
{
"steps": [
{
"name": "gcr.io/cloud-builders/docker",
"args": [
"build",
"-t",
"europe-west2-docker.pkg.dev/${PROJECT_ID}/REPONAME/front-end:${COMMIT_SHA}",
"."
]
}
],
"options": {
"logging": "CLOUD_LOGGING_ONLY"
}
}
Any idea?
Thanks,
As per your above comment
I did setup the exact same trigger in europe-west1, while keeping my artifacts repo and images in europe-west2 and had no problem there
it seems your project is under restriction. The line in doc says
Depending on usage, certain projects may be restricted to only use Cloud Build in the following regions`
Which means if the project is in restricted mode then cloud builds can be triggered in following regions only, not in other regions.
Maybe as your project in restrict mode,so triggers in europe-west2
is not working as europe-west2
is not there in the above list. And europe-west1
is there in the list,hence triggers are working for you when you switched your triggers to west-1
.
To get the restriction details of your project whether it is restriction mode or not i think the only channel you have to reach out is sales team or technical support where you can get additional help over there.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.