Category : google-cloud-platform

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

For deploying the application on Google Run. I have create Dockerfile with the following content : ### STAGE 1: Build ### FROM node:latest AS build WORKDIR /app COPY package.json package-lock.json ./ RUN npm install COPY . . RUN npm run build ### STAGE 2: Run ### FROM nginx:1.19.9-alpine COPY –from=build /app/dist/aistudio /usr/share/nginx/html The problem which ..

Read more

I’m trying to inject my secrets from Google Secret Manager into Kubernetes Pod as environment variable. I need put it as environment variable to my NodeJS application can read it. I tried the solution from How to inject secret from Google Secret Manager into Kubernetes Pod as environment variable? but not work for me. Also ..

Read more