Questions tagged [google-cloud-build]

For programming/API questions about Google Cloud Build, a service that executes builds, regardless of language, on the Google Cloud Platform infrastructure.

The official documentation can be found here: https://cloud.google.com/cloud-build/docs/

1423 questions
-2
votes
1 answer

Converting gcloud command to CloudBuild.yaml for GCP Log Sink

I have created GCP Log Sinks using gcloud command and it works. I now want to move that code into a CloudBuild.Yaml file equivalent. Can someone please point me to the log sink cloud build yaml template please or if you can convert the below command…
-2
votes
3 answers

ERROR: (gcloud.builds.submit) HTTPError 403: *** does not have storage.objects.get access to the Google Cloud Storage object

I have a Github Action to submit my source-code to Google Cloud Build. The submission does work. The Cloud Build job is being triggered. However the Github Action exits with an error. This is the error message: ERROR: (gcloud.builds.submit)…
xetra11
  • 7,671
  • 14
  • 84
  • 159
-2
votes
1 answer

Any support for matrix build

Recently research different build tools , GCP CloudBuild is one of the selection  https://github.com/GoogleCloudPlatform/cloud-builders one of require is work loop an array list and write the function only once and run in parallel however i did not…
-2
votes
2 answers

ERROR: An app.yaml (or appengine-web.xml) file is required to deploy this directory as an App Engine application

When I try deploying my Python code through Cloud Build to Google App Engine (GAE) I receive the following ERROR message: ERROR: An app.yaml (or appengine-web.xml) file is required to deploy this directory as an App Engine application ERROR:…
-2
votes
2 answers

Steps for Cloud Function + Cloud Build API + Node 10?

As I received email from Firbase to upgrade Firebase Cloud Function with Node 10 and Cloud Build API. I have done all the steps as below: Updated to the "Blaze" pay-as-you-go Plan Updated Node.js 10 runtime Enabled Cloud Build API Now what? I am…
-2
votes
1 answer

Tell the best practice for injecting secrets values to CloudRun

I deploy cloud run with cloud build. Following is cloudbuild.yaml and deploy command. $ cat cloudbuid.yaml steps: - id: Cloud Run Deploy name: 'gcr.io/cloud-builders/gcloud' args: [ run, deploy, $_SERVICE_NAME,…
Takato Horikoshi
  • 363
  • 5
  • 15
-3
votes
1 answer

Regex error in cloudbuild.yaml file while passing project-id

I'm trying to run a dataflow job using cloud build steps: - name: 'gcr.io/cloud-builders/gcloud' args: dataflow jobs run google-template-job --gcs-location=gs://dataflow-templates/latest/PubSub_Subscription_to_BigQuery …
-5
votes
1 answer

Cloud-build Trigger

1.I want to build trigger on Cloud build for only specific branches 2.It should work with both branches as well as tags in same trigger Any solution/suggestion Thanks in advance
Shashikumar KL
  • 1,007
  • 1
  • 10
  • 25
1 2 3
94
95