Questions tagged [google-cloud-deploy]

17 questions
3
votes
2 answers

GCP deploy error: Creating Revision interrupted

While deploying to GCP using Terraform and in our YAML file we have the following section # Deploy to Cloud Run - id: 'deploy' name: 'gcr.io/cloud-builders/gcloud' waitFor: ['build-image','push-image'] entrypoint: bash args: - '-c' -…
3
votes
1 answer

Unable to deploy Google Cloud Function due to mysterious --production=false flag

For some reason, I can no longer deploy existing google functions from my local machine or from github actions. Whenever I deploy using the gcloud functions deploy command, I get the following error in the console: ERROR: (gcloud.functions.deploy)…
1
vote
1 answer

Cloud Deploy Access to Private GKE

After spending ages trying to follow https://cloud.google.com/architecture/accessing-private-gke-clusters-with-cloud-build-private-pools and get my private worker pool to access my private GKE cluster, I managed to get it working. However, I'm now…
1
vote
1 answer

Google Cloud Platform container list tags permission denied

When executing the command: gcloud container images list-tags gcr.io/x/x In the terminal, I get the following error: (gcloud.container.images.list-tags) Access denied: gcr.io/x/x Which role do I need to give the user so that they are able to…
1
vote
0 answers

How to make Cloud Deploy releases idempotent

Currently, every time I deploy a new release using Cloud Deploy, my pods are restarted even if they don't have any changes. After some researching, I realized that pods are recreated because of skaffold.dev/run-id label is updated on every release.…
0
votes
0 answers

Can Google Cloud Deploy deploy to multiple child targets with different image to Cloud Run on single multi-target?

I have a release from my Github Actions that pushed multiple image artifacts to a single release on Google Cloud Deploy. That configured with clouddeploy.yaml, skaffold.yaml and rawYaml for serving to Cloud Run. I tried to use multiple rawYaml file…
0
votes
2 answers

Google Cloud Deploy not activating correct Skaffold profile

I am using Google Cloud Build & Google Cloud Deploy with Skaffold profiles to manage spec of pods between Staging and Production environments, but the rendered manifests do not have the spec according to the profiles and the manifest in the default…
0
votes
1 answer

Deploying multiple apps with CloudDeploy and Skaffold

I'm using GCP CloudDeploy and Skaffold to deploy my docker containers to CloudRun (roughly following this GCP tutorial). It works well with only one container but now that I'm trying to add another one, I cannot make it work. This is my…
Michal
  • 151
  • 1
  • 7
0
votes
1 answer

Failed to run /bin/build: for Python, an entrypoint must be manually set, either with "GOOGLE_ENTRYPOINT" env var or by creating a "Procfile" file"

I'm trying to automate a CloudDeploy pipeline by following the instructions here: https://davelms.medium.com/automate-gke-deployments-using-cloud-build-and-cloud-deploy-2c15909ddf22 Things seemed to be working until I got to the last steps of adding…
0
votes
1 answer

firebase deploy - how to see which files are deployed and debug gcloudignore?

I have a .gcloudignore but still keep getting the error: Your proposed upload is larger than the maximum Is there any way to see which files will be deployed or otherwise debug this? A bit like git add . -n since it takes 10mins to try a full…
dcsan
  • 11,333
  • 15
  • 77
  • 118
0
votes
0 answers

Google cloud error : Cannot find module '/workspace/server.js'

I'm facing a very common issue on Google cloud after deployment. I'm getting Cannot find module '/workspace/server.js'. In local it's working fine but not on gcloud. Tried lot of solutions from google but not able to get it. Please do provide me if…
David
  • 539
  • 3
  • 9
  • 23
0
votes
1 answer

Kubernetes multiple deployments using single template for CI/CD

I'm bit new to kubernetes, I know we can create multiple deployments using same template. I have already gone through this. But my requirement is slight different. I have 30 deployment files wherein only two parameters that's deployment name and…
0
votes
0 answers

looping inside cloud build for multiple deployments

I'm trying to create multiple deployments using Cloud Build and Cloud Deploy in GKE cluster. Below is my cloudbuild.yaml steps: - name: "gcr.io/cloud-builders/gcloud" entrypoint: 'bash' args: - '-c' - | while IFS= read -r deplname; do …
0
votes
1 answer

Google Cloud Build and Deploy to Kubernetes environment variables

I'm currently migrating my rest API to Google Cloud. I'm trying to setup a CI/CD pipeline on Kubernetes. So far I managed to build my Docker image with Cloud Build via a Github trigger. I created a pipeline with Cloud Deploy that builds and launch…
0
votes
1 answer

How can we use the cloud build privatePool in google cloud deploy

We cannot make the cloud deploy job run the RENDER or DEPLOY in another project's private pool, we can make it use the private pool in the project that hosts the cloud deploy. Following the documentation of the cloud-deploy setup here:…
1
2