Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
75 views

I have setup a GCP project for build activities that support multiple GCP projects deployments, this way I have one place to manage the CI/CD and in this project no other resources APIs like spanner ...
SagarKC's user avatar
  • 85
0 votes
0 answers
60 views

Dear Stack Overflow Community, I am encountering a critical deployment issue with my Google Cloud project gvnalgosoftware (Project ID: 511171631078). I am attempting to build my Flask application as a ...
Venkat Study info's user avatar
0 votes
1 answer
96 views

I have been manually deploying new pods with GKE for the past three years. Once done, I then configure Cloud Build for my CI/CD to deploy to GKE once the image is created, etc. For the CD from ...
Jay Cee's user avatar
  • 1,975
0 votes
1 answer
64 views

I have a pyproject.toml file that looks like this: [build] builder = "gcr.io/buildpacks/builder:google-22" [project] name = "schoolProject" version = "0.0.1" authors = [ ...
TheMineCommander's user avatar
0 votes
0 answers
86 views

How can I set git config --global init.defaultBranch main during the FETCHSOURCE step in google cloud build? The mission is silencing this redundant message: hint: Using 'master' as the name for the ...
Anthony Metzidis's user avatar
0 votes
0 answers
97 views

I'm deploying a fastapi app to GCP Cloud Run. Cloud Run builds from a Dockerfile, the app secrets are added to gcr container volumes from Secret Manager. I get a ModuleNotFoundError with a certain ...
Aritro Pal Choudhury's user avatar
0 votes
0 answers
30 views

Terraform "google_cloudbuild_trigger" resource failing to create trigger #Resource Terraform will perform the following actions: # google_cloudbuild_trigger.cloud_build_trigger will be ...
user30652673's user avatar
1 vote
1 answer
194 views

In june 2024, GCP changed the default service account for Cloud Build as explained here https://cloud.google.com/build/docs/cloud-build-service-account-updates#what_do_you_need_to_do Due to this, new ...
lesolorzanov's user avatar
  • 3,654
0 votes
1 answer
267 views

We are using Cloud Build to deploy our Docker container to Cloud Run. We would like to speed up the process with caching, as described here: https://cloud.google.com/build/docs/optimize-builds/...
Chad Bell's user avatar
0 votes
0 answers
61 views

I'm struggling with a persistent FirebaseError: Firebase: Error (auth/invalid-api-key) error in my deployed Vite/React frontend application. This error only occurs when the application is built and ...
Vlad Nicolas's user avatar
0 votes
0 answers
117 views

Context I have a very simple, bare bones cloudbuild.yaml that: sets up GOPRIVATE variable so that the CI environment is able to download dependencies Runs go build Runs go test: steps: - id: "...
a3y3's user avatar
  • 1,255
0 votes
0 answers
60 views

I am trying to use Firebase logs. I am able to add new records into my Firebase Realtime Database Chat entity. The problem is I cannot see any logs or errors when browsing them at Google Cloud Log ...
user7289922's user avatar
0 votes
1 answer
82 views

I am using terraform to deploy a python cloud function, similar to the official example, things are working as expected but now I want to use protobuf, which requires extra compile step, I know cloud ...
watashiSHUN's user avatar
  • 10.7k
0 votes
1 answer
116 views

As noted here in GCP documentation for Cloud Build, you can reference secrets without writing explicit gcloud commands by using the "availableSecrets" block. This works great for global ...
mjq's user avatar
  • 13
0 votes
0 answers
79 views

RUN pip install git+https://${GITHUB_TOKEN}@github.com//packages.git#egg=mypackage&subdirectory=mypackage is not working in my Dockerfile This is my Dockerfile FROM python:3.9-slim COPY . /app ...
pablowilks2's user avatar
1 vote
2 answers
638 views

Problem: I am trying to set up a CI/CD pipeline in Google Cloud Platform using Cloud Build with a GitHub trigger. However, when I attempt to trigger the build using the Cloud Build trigger, I get the ...
William Lin's user avatar
0 votes
1 answer
149 views

On March 12, 2025, there was an incident with Firebase App Hosting configuration: https://status.firebase.google.com/incidents/dMqtcJBwkmWeGDhmGqjN The incident is supposed to be resolved but I am ...
lordofmax's user avatar
  • 833
1 vote
1 answer
89 views

When I try to run my app's test suite in a CI pipe using Google Cloud Build, the process fails during the tests step with a database authentication error: error: password authentication failed for ...
Jannie Theunissen's user avatar
0 votes
0 answers
63 views

I am trying to deploy my Kedro instance in Cloud Run which my cloudbuild.yml look like this : steps: - name: "noobzik/uv-gcp-cloud-build" id: CI entrypoint: /bin/bash env: - ...
NoobZik's user avatar
  • 157
-1 votes
1 answer
272 views

steps: name: 'gcr.io/google.com/cloudsdktool/cloud-sdk:slim' entrypoint: 'bash' args: '-c' | echo "Fetching secrets from Secret Manager..." echo -n $(gcloud secrets versions access latest -...
Meer's user avatar
  • 1
0 votes
1 answer
110 views

Trying to reproduce this command from Google Workflow: gcloud builds triggers run aaa-bbb-ccc-ddd-eee --region="us-central1" --project=prj-dev3 --branch="ci-cd" Where xxx is the ...
angelcervera's user avatar
  • 4,259
0 votes
2 answers
194 views

I'd like to use pnpm in my CI cloudbuild pipeline. But, does that mean that i have to install it in every step? Since steps in cloudbuild are indepedent from each other. What are the alternatives? ...
LEVI JOEL CASTILLON URQUIZA's user avatar
0 votes
0 answers
38 views

In my react router v7 app with vite and type:'module' in package.json: This: import { CloudBuildClient } from '@google-cloud/cloudbuild'; throws: Error: Failed to resolve entry for package "@...
iPhoney's user avatar
  • 781
3 votes
0 answers
29 views

Give I have a cloudbuild.yaml file which builds a multistage Dockerfile, how do I store artifacts generated by Docker? My Dockerfile contains this section: FROM golang:1.23-alpine AS build WORKDIR /...
Ayub Malik's user avatar
  • 2,618
0 votes
1 answer
70 views

This works fine: gcloud run jobs deploy myjob --project myproject --image us-east1-docker.pkg.dev/myproject/myrepo/myimage:latest --region us-east1 It yields: ✓ Creating job... Done. ...
Wells's user avatar
  • 11k
0 votes
1 answer
561 views

I'm using Google Cloud Build to generate binary artifacts that I deploy to N1 series VMs. For years, I've done this by setting my cloudbuild.yaml to gcr.io/cloud-builders/docker and then, in the ...
sffc's user avatar
  • 6,454
0 votes
1 answer
120 views

I'm trying to use GCP Cloudbuild to deploy a python project managed with UV. The project has a private git submodule that I'm cloning with an ssh setup in cloudbuild yaml (taken from this example) The ...
Connor's user avatar
  • 423
0 votes
0 answers
60 views

I am setting up a GCloud function on Cloud Run for a client. He has shared his repo with me on github so I can access it. However, when choose the 'continuously deploy from a repository' option and ...
Dan Csharpster's user avatar
2 votes
1 answer
842 views

I’m deploying a Laravel application to Google Cloud Run using Google Cloud Build. During the Docker build process, I need to access Google Secret Manager to inject secrets into the application code ...
ristol's user avatar
  • 41
0 votes
0 answers
116 views

I am trying to launch a basic function on google cloud build that will count the number of users every time a new user is added to a firestore database. Here is a basic layout of my code import time ...
Mo Oyewole's user avatar
3 votes
1 answer
561 views

Environment Angular-ssr v18 deployed on Firebase App Hosting. When a new version of the app is uploaded to Github the rollout to App Hosting is triggered automatically, which includes the build ...
ChrisWF's user avatar
  • 33
0 votes
1 answer
108 views

I'm having a strange problem where a Dockerfile builds completely fine locally but fails in GCP cloud build due to being unable to find the source files during a copy statement. I am building a spring ...
Sael Torres-Diaz's user avatar
0 votes
1 answer
928 views

I am setting up IaC with cloud build by following this guide: https://cloud.google.com/docs/terraform/resource-management/managing-infrastructure-as-code#clean-up I've run the following in the cloud ...
grostaco's user avatar
2 votes
1 answer
85 views

I have a manual regional cloudbuild trigger, that uses Cloudbuild repositories (2nd gen) to make connections with github. I also need to pass substitution variables to the trigger. Following this ...
Piyush Agarwal's user avatar
0 votes
2 answers
283 views

I need to write a bash script to run inside my Google Cloud Build's build process. This bash script needs to clone a 2nd Gen Repository (since now former Source Repositories is deprecated), but I can'...
Mauricio's user avatar
  • 3,227
1 vote
1 answer
193 views

The instructions to deploy 'hosting' seemed to be super simple, just: args: ['deploy', '--project=project-id', '--only=hosting'] Now, I wanted to deploy hosting and functions, so I stripped the '--...
runixo's user avatar
  • 333
1 vote
1 answer
109 views

I'm currently learning how to do CI/CD in GCP. In a personal project I try to make a CI/CD between my GitHub repository and my artifact registry depo and my cloud run service. Also, I set up all my ...
frenchie5980000's user avatar
0 votes
0 answers
158 views

steps: - name: gcr.io/cloud-builders/docker entrypoint: bash args: - '-c' - | docker pull $_AR_HOSTNAME/$PROJECT_ID/cloud-run-source-deploy/$REPO_NAME/$_SERVICE_NAME:...
nope_that_does_not_work's user avatar
0 votes
1 answer
179 views

I'm trying to use cloud build with private pools to run builds on gitlab self hosted Instance. All are in same VPC, but I'm cloud build when triggered is not able to resolve the host of gitlab ...
Noobmaster's user avatar
-2 votes
1 answer
501 views

I am trying to provision a cloudbuild v1 trigger within my GCP project, however I run into the following issue: Error: Error creating Trigger: googleapi: Error 400: Repository mapping does not exist. ...
Ramon Vermeulen's user avatar
2 votes
1 answer
135 views

My Dockerfile requires the GITHUB_TOKEN to be set in order to be able to download and install an npm package. Hence, my Dockerfile an argument GITHUB_TOKEN. This is working fine locally. The problem ...
Stefan Falk's user avatar
  • 25.8k
1 vote
1 answer
184 views

I have hundreds of Cloud Build triggers using Gen1 source and the global location across multiple GCP projects, and I want to migrate them to Gen2 of the source. I tried using a Python script, similar ...
itx's user avatar
  • 1,419
2 votes
1 answer
333 views

I got this weird error in my CI/CD pipeline running in GCP Cloud build. Package installation failed... KeyError: 'Name' site-packages/pipenv/vendor/importlib_metadata/_adapters.py:54 everything is ...
allexiusw's user avatar
  • 1,782
0 votes
1 answer
244 views

As part of my CD deploy pipe in Google Cloud Build I would like to notify a Slack channel, but I am struggling to use the Secret Manager to supply the secret notification endpoint. This build config ...
Jannie Theunissen's user avatar
0 votes
0 answers
146 views

I'm running into an issue with my new client where I used to rely on Cloud Source Repositories connected to a private GitHub repository for my previous clients. After selecting the repo and ...
Tomy137's user avatar
  • 111
0 votes
0 answers
225 views

I've added a trigger to my Cloud Build that is failing when deploying my Angular 18 application to an App Service on the App Engine. I can manually release my application by copying it up to a cloud ...
Blair Holmes's user avatar
  • 1,671
0 votes
1 answer
44 views

How can I access an AWS MySQL database as part of a unit test that gets executed during a cloudbuild build on GCP? I can access this database when I'm firing a cloud function with the cloud scheduler ...
renaudb3's user avatar
1 vote
2 answers
721 views

Is it possible to purge old builds from the build history. We have no need to keep history older than a month, I thought storing the logs in a user created bucket would help, but this only affect the ...
Daniel's user avatar
  • 81
0 votes
1 answer
387 views

This is my cloudbuild.yaml file. In this file i manually write the version of the new application, but i want to take this automatically by any approach, Is this possible anyhow? steps: Step 1: Build ...
Rishav Kumar's user avatar
0 votes
1 answer
365 views

I am in dire need of help on this. I feel like I've tried every piece of advice online to no avail. I must be missing something!! Background I want to use Gitlab CICD and GCP Cloud Build to build a ...
atomheartbrother's user avatar

1
2 3 4 5
31