Category : google-cloud-build

I am trying to integrate doppler secrets with my google cloud build service. However, I am getting an error in my cloud build logs: Doppler Error: you must provide a token My Dockerfile gist: https://gist.github.com/hrshtsharma17/4387c7c624cf843c912a7f456f8c81e3 My Cloud Build file gist: https://gist.github.com/hrshtsharma17/10b184188c194e2b957291de2dfb7ea2 Note: I have already set _DOPPLER_TOKEN as a variable in trigger I have tried ..

Read more

The following command runs fine on my local machine. docker run -it –rm –ulimit memlock=-1 -v "$HOMEDIR/..":"/home/user/repo" -w "/home/user/repo/linux" ${DOCKER_IMAGE_NAME} bash build.sh Running it in a docker-in-docker evirionment (that means the mentioned docker command is executed in a container on google cloudbuild) is leading to two problems though: Docker complains The input device is not ..

Read more

Cloud Build fails with Timeout Error (I’m trying to deploy CloudRun with Prophet). Therefore I’m trying to split the Dockerfile into two (saving the image in between in case it fails). I’d split the Dockerfile like this: Dockerfile_one: python + prophet’s dependencies Dockerfile_two: image_from_Dockerfile_one + prophet + other dependencies What should cloudbuild.yaml should look like ..

Read more

Please help me, I want to deploy the docker image on private kubernetes cluster(connected to custom VPC) using cloud build. When control plane option in private kubernetes is disabled then image will succesfully deployed. But If i enabled control plane then it gives error while deploying. In control plane i have to give ip address ..

Read more

My dockerfile and source code are in the same directory, so my cloudbuild.yaml file has ‘.’ as the argument. However, I am getting this error: I already specified path ‘.’, but its looking for a different path /workspace/Dockerfile. My cloudbuil.yaml file: steps: – name: gcr.io/cloud-builders/docker args: – build – ‘-t’ – gcr.io/$PROJECT_ID/$_API_NAME – . id: ..

Read more

I was following along this video from Google Tech Build youtube channel on their new "Serverless Expeditions" series which is really great and neat. Highly recommended. This is my first time experimenting with GCP but everything was executing perfectly until I got a weird error: BUILD Already have image (with digest): gcr.io/cloud-builders/docker unable to prepare ..

Read more

I am new to micro-services technologies and getting troubled with Google Cloud Build. I am using Docker, Kubernetes, Ingres Nginx and skaffold and my deployment works fine in local machine. Now I want to develop locally and build and run remotely using Cloud Platform so, here’s what I have done: In Google Cloud, I have ..

Read more