Skip to content

UPD: Update cd-workflow.yaml (#88) #93

UPD: Update cd-workflow.yaml (#88)

UPD: Update cd-workflow.yaml (#88) #93

Triggered via push February 4, 2025 10:30
Status Failure
Total duration 5m 7s
Artifacts

cd-workflow.yaml

on: push
Create and push the Docker image to GAR
3m 54s
Create and push the Docker image to GAR
Deploy image on cloud run
54s
Deploy image on cloud run
Fit to window
Zoom out
Zoom in

Annotations

1 error
Deploy image on cloud run
google-github-actions/deploy-cloudrun failed with: failed to execute gcloud command `gcloud run deploy backstage-deployment --image europe-west10-docker.pkg.dev/code-idp/backstage-deploy/backstage-image:a24cf196dcce5dd23d345b03b771539df7f2e8b5 --update-env-vars ^,^POSTGRES_HOST=/cloudsql/code-idp:europe-west10:backstage-pg,POSTGRES_PORT=5432,POSTGRES_USER=postgres,BASE_URL=https://backstage.foundations-software-engineering.com --update-secrets ^,^POSTGRES_PASSWORD=postgres-password:latest,GITHUB_TOKEN=github_token:latest,GOOGLE_CLIENT_ID=google_client_id:latest,GOOGLE_CLIENT_SECRET=google_client_secret:latest,GITHUB_CLIENT_ID=github_client_id:latest,GITHUB_CLIENT_SECRET=github_client_secret:latest,GITLAB_TOKEN=gitlab_token:latest,TECHDOCS_GCS_CREDENTIALS=techdocs_gcs_credentials:latest --update-labels ^,^managed-by=github-actions,commit-sha=a24cf196dcce5dd23d345b03b771539df7f2e8b5 --format json --region europe-west1 --port 7007 --allow-unauthenticated --add-cloudsql-instances code-idp:europe-west10:backstage-pg`: Skipped validating Cloud SQL API and Cloud SQL Admin API enablement due to an issue contacting the Service Usage API. Please ensure the Cloud SQL API and Cloud SQL Admin API are activated (see https://console.cloud.google.com/apis/dashboard). Deploying container to Cloud Run service [backstage-deployment] in project [code-idp] region [europe-west1] Deploying new service... Setting IAM Policy...............................done Creating Revision...........................................................................................................................................................................................................................failed Deployment failed ERROR: (gcloud.run.deploy) Revision 'backstage-deployment-00001-crf' is not ready and cannot serve traffic. spec.template.spec.containers[0].env[4].value_from.secret_key_ref.name: Secret projects/1006240973223/secrets/postgres-password/versions/latest was not found