Tag : google-cloud-platform

I’m deploying services to GCP and I want to persist the database and logs. The VM’s local storage is not considered. How can I mount the GCP disk/bucket to the containers? Here is my docker-compose.yml: version: ‘3’ services: backend: image: mybackend:latest volumes: – logs-data:/path/to/logs database: image: postgres:12.6-alpine volumes: – db-data:/var/lib/postgresql/data – logs-data:/var/log/postgresql volumes: db-data: driver: ..

Read more

TL;DR, the error: Step #0: Creating an optimized production build… Step #0: Failed to compile. Step #0: Step #0: Failed to load config "airbnb-typescript" to extend from. Step #0: Referenced from: /app/.eslintrc.js I am trying to build a frontend project with Tailwind CSS, Craco and React, with Docker. I have a similar project running, only ..

Read more

I know there are several posts/questions like this but nothing answered it. I am using cloudbuild.yaml and reading a secret value from the secret manager and passing it like this. YAML file entrypoint: /bin/sh args: [‘-c’, ‘docker build -t gcr.io/$PROJECT_ID/portal:$SHORT_SHA-${_TARGET} –build-arg token=$$TOKEN . ‘] … docker file ARG token COPY .npmrc .npmrc … .npmrc file ..

Read more

I know there are several posts/questions like this but nothing answered it. I am using cloudbuild.yaml and reading a secret value from the secret manager and passing it like this. YAML file entrypoint: /bin/sh args: [‘-c’, ‘docker build -t gcr.io/$PROJECT_ID/portal:$SHORT_SHA-${_TARGET} –build-arg token=$$TOKEN . ‘] … docker file ARG token COPY .npmrc .npmrc … .npmrc file ..

Read more

We are deploying Debezium mysql-cdc-connector on GKE. After the deployment the pod is failing with following error: caused by: org.apache.kafka.connect.errors.ConnectException: User does not have the ‘LOCK TABLES’ privilege required to obtain a consistent snapshot by preventing concurrent writes to tables. To overcome this without giving lock table access to the user, we can set snapshot.locking.mode=none. ..

Read more

It has been a few months since I last deployed a new version of my .NET Core 2.1 app engine service. For some reason this no longer works: BUILD Starting Step #0 Step #0: Pulling image: gcr.io/gcp-runtimes/[email protected]:f5552a5efdaf278a3124ea10fd1c9636b09fc9f98f9e620cbd71279797576b3f Step #0: sha256:f5552a5efdaf278a3124ea10fd1c9636b09fc9f98f9e620cbd71279797576b3f: Pulling from gcp-runtimes/aspnetcorebuild Step #0: bd0de8be231c: Pulling fs layer Step #0: 091745073ef1: Pulling fs layer ..

Read more