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
0
votes
2 answers

Run webpack in a Google Cloud Builder step

I am trying to pack a web app using Google Cloud Builder. I already have npm install working in a previous step of the same build. File webpack.config.js is ready to use and tested outside Google Cloud Builder. It is cloned inside the /workspace in…
Alex Benfica
  • 408
  • 5
  • 17
0
votes
1 answer

Dockerfile build on Google Cloud Build not printing test logs

I have a simple Dockerfile: FROM node:8 # Create app directory WORKDIR /usr/src/app # Install app dependencies # A wildcard is used to ensure both package.json AND package-lock.json are copied # where available (npm@5+) COPY package*.json ./ RUN…
theblindprophet
  • 7,767
  • 5
  • 37
  • 55
0
votes
0 answers

Google Cloud Source Build Trigger

I am trying to set the CI/CD for a cloud function that I have built using Python run time which is in Beta. I am able to deploy the function manually but I am not able to do the cloud builder. I am getting 403 forbidden. I have set the cloud build…
Vijay aravind
  • 183
  • 3
  • 14
0
votes
2 answers

Google Cloud Build

Hi I am new to Google Cloud Platform. I want to build an Java application which should be built using Google Cloud Build without docker containers. And also the built application to be tested and artifact to be saved in bucket. Can anyone help me…
Vallabh
  • 1
  • 1
0
votes
1 answer

Google cloud build running into "unsatisfiable constraints" error (image builds locally)

My Dckerfile FROM python:3.7-alpine ADD requirements.txt /code/requirements.txt RUN apk --no-cache add --virtual build-dependencies \ build-base \ py-mysqldb \ gcc \ libc-dev \ libffi-dev \ mariadb-dev \ && pip install -r…
0
votes
1 answer

How Google Cloud build works?

I am new to Google cloud build, I want to build an application which runs on Windows server. I am not using any containerized application for webhosting.Is it necessary build steps written in cloudbuild.yaml to run on container, as most of the…
Oomkar
  • 21
  • 1
  • 4
0
votes
1 answer

Google Cloud: Auto update image used by container post auto build by trigger?

Is it possible to auto update image used by already deployed container post auto build by trigger? One solution I know is to add command in cloud build.yaml for restarting the server. Is there any better approach?
Ravinder Payal
  • 2,884
  • 31
  • 40
-1
votes
1 answer

Using Google Cloud Build and Pub/Sub triggers to clone and run a repository

Is it possible for me to use a Google Cloud Build trigger that triggers upon Google Pub/Sub events to pull down a repository and build the code for it? Or is this only possible through Cloud Build build triggers? If it is possible to use Pub/Sub…
-1
votes
1 answer

Using hashicorp container with cloudbuild

All of the cloudbuild documentation references using Cloud builders (publicly available container images) that are hosted by GCP. I need to run a terraform build and have successfully used a terraform published container image in my cloudbuild…
teoheras
  • 13
  • 2
-1
votes
2 answers

tcp 10.10.2.2:443: i/o timeout Cloud Build accessing private GKE

I'm trying to get Cloud Build to access my private GKE by following the instructions described at https://cloud.google.com/architecture/accessing-private-gke-clusters-with-cloud-build-private-pools From what I can see I've configured things as…
-1
votes
1 answer

Can Cloud Run automatically use latest digest?

I have a continuous deployment pipeline setup with Github via Cloud Build Triggers. Each time a push is made to the main branch, the cloudbuild.yaml does its thing and produces a digest with a tag of latest. All of my digests are stored in Artifact…
-1
votes
2 answers

is there any way to run npm install and npm run build in a cloudbuild.yaml?

I have this react app, I need to deploy into a google cloud storage thru google cloud build, I'm trying to do it adding a cloudbuild.yaml and add some steps to run the npm This is what I have: steps: - name: bash script: | npm install…
Elmer A. Chacon
  • 75
  • 3
  • 11
-1
votes
2 answers

(gcloud.app.deploy): Error Response: The App Engine appspot and App Engine flexible environment service accounts must have permissions on the image

I'm trying to figure out the problem here. I'm getting this error, trying to deploy an Angular app on a Google Cloud. I'm following the procedure here : https://cloud.google.com/community/tutorials/appengine-angular-nginx-docker I checked the post…
Pax
  • 153
  • 1
  • 11
-1
votes
1 answer

gcloud scp in cloud build fails due to known hosts problem

One step in my cloud build is to copy files from a VM in another project. After a series of problems, I've set up the service account access, and can successfully do this scp from my own workstation. However, in cloud build itself, I get this error…
-1
votes
1 answer

How to setup a webhook in Google Cloud that make the code runs in automation way

I have connection between Google Sheets and python script that I read cells from a column then read these cells's data and then run the code to do its job. So basically, what I want to do is setting up a webhook or anything that Make the code runs…