google-cloud-build Questions

2

I am working a lot with the Google Cloud Platform. Last year, we instated the resource constraint policy "constraints/gcp.resourceLocations" to Europe only. As of today, we are seeing a l...
Mizzle asked 12/11, 2020 at 7:57

8

I understand gcloud uses the Dockerfile specified in the root directory of the source (.) as in the command: gcloud builds submit --tag gcr.io/[PROJECT_ID]/quickstart-image . but I am trying to sp...
Sanalda asked 10/10, 2019 at 16:14

4

Solved

My issue is that, given the below yaml file, if I'm making changes for example in any file of "dir: process/cbd-bu-data", Cloud Build runs all the steps serially when triggered. This leads to wasta...

5

When submitting a Cloud Build run via gcloud builds submit ... I'm getting a forbidden error saying I don't have access to the bucket(s). There are 2 places where buckets are normally involved in s...

4

Solved

I'd like to migrate to PNPM, however, I can't find a way to use its lockfile on Google Cloud. My current cloudbuild config is the following: steps: - name: "gcr.io/google.com/cloudsdktool/clou...
Supportable asked 1/8, 2020 at 14:44

1

I have Golang project which I am trying to deploy to Google Cloud Run. For this project the idea is to test image building and running before even deploying it to cloud run. Now building this image...

5

Solved

My most recent builds with GCloud all started failing recently and I am not really sure why. I keep getting 404 errors from the build attempting to find an image that doesn't exist. Sample error: A...
Radke asked 26/9, 2023 at 16:50

9

Solved

Is there such an option? My use case would be running a trigger for a production build (deploys to production). Ideally, that trigger doesn't need to listen to any change since it is invoked manual...

4

Solved

I want to run our automated backend test suite on Google Cloud Builder environment. However, naturally, I bumped into the need to install various dependencies and prerequisites within the Cloud Bui...
Overrefinement asked 26/4, 2019 at 7:52

2

Solved

I'm building a modern WP theme via GCB, and I need a final artifact, a ZIP package. Being new to the GCBб I didn't manage to solve it on my own, but it sounds so obvious Anyway, here's my final bu...
Swale asked 2/5, 2019 at 7:16

2

I have a problem with my automated cloud function deployment I have a cloud function stored in a Google Cloud repository Git code includes a cloudbuild.yaml file with this content : steps: - nam...
Eastnortheast asked 15/4, 2020 at 1:18

6

Solved

I would like to run database migrations written in node.js during the Cloud Build process. Currently, the database migration command is being executed but it seems that the Cloud Build process do...

3

I'm trying to use BuildKit with Docker on Google Cloud Build so that I can eventually use the --secret flag. I'm using Build Enhancements for Docker as a reference. It works on my laptop when I us...
Forswear asked 24/7, 2019 at 4:2

2

I want to cache the previously stored google cloud image while creating a new build for the project. I have followed the official documentation : https://cloud.google.com/build/docs/optimize-builds...
Southard asked 3/5, 2023 at 22:33

7

This morning I made a PR which triggered a Cloud Build for my staging enviroment but failed to deploy the results to GAE. The error was as follows: ERROR: (gcloud.app.deploy) PERMISSION_DENIED: Yo...

6

Solved

I've been trying to configure sonarqube to work with cloud build trigger and want to use bitnami's sonarqube compute instance installation but when I installed sonar-scanner using this guide: https...

2

I am building an http endpoint with Google Cloud Functions. I have an encrypted secret stored as a file that is loaded and decrypted in the function as a way to prevent my secret from being stored ...

5

Solved

I am trying to deploy node js app on google cloud but getting following error - Step #1: ERROR: (gcloud.app.deploy) Permissions error fetching application [apps /mytest-240512]. Please make sure y...

4

When I try to run steps: - id: Plan Terraform name: hashicorp/terraform:light args: - plan in Cloud Build, I get the error: Error: Error reading Project Service foo/cloudbuild.googleapis.com: g...

2

Solved

I have a java spring boot backend app, that I am trying to hook up to Firebase Cloud Messages. I have an android app that uses firebase and I am trying to use this backend to push notifications. I'...

3

Solved

Within my code, I am attempting to gather the Application Default Credentials from the associated service account in Cloud Build: from google.auth import default credentials, project_id = default(...
Coccidioidomycosis asked 28/11, 2021 at 11:53

9

Solved

I'm running a Google Kubernetes Engine with the "private-cluster" option. I've also defined "authorized Master Network" to be able to remotely access the environment - this works just fine. Now I w...
Ossified asked 21/8, 2018 at 8:42

4

Solved

I was using terraform in cloud build, but it fails at this step steps: # Terraform - id: 'configure_terraform' name: node:10.16.3 entrypoint: "node" args: ["./create_terraform_config.js", ...
Rennarennane asked 26/11, 2019 at 15:16

3

I'm trying to generate and re-use a yarn install cache when building a Docker image using Docker BuildKit. The yarn cache is persisted in the directory .yarn/cache and should never be included in t...

2

Solved

I have a nodejs project running on app engine. This worked fine until yesterday. My package.json is also uploaded becuase it contains dependencies and start script. When I deploay a google cloud bu...

© 2022 - 2024 — McMap. All rights reserved.