Skip to content

.github/workflows/cd-workflow.yaml #51

.github/workflows/cd-workflow.yaml

.github/workflows/cd-workflow.yaml #51

Triggered via workflow run January 27, 2025 18:57
@NewerKeyNewerKey
completed 36af6e0
Status Failure
Total duration 5m 55s
Artifacts

cd-workflow.yaml

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

Annotations

1 error and 2 warnings
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:36af6e0cc39e59838aa53fe872093154f48e4c07 --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_SECRET=github_client_secret:latest,GITHUB_CLIENT_ID=github_client_id:latest --update-labels ^,^managed-by=github-actions,commit-sha=36af6e0cc39e59838aa53fe872093154f48e4c07 --format json --region europe-west1 --port 7007 --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... Creating Revision.................................................................................................................................................................................................................................................................................................................................................................................................failed Deployment failed ERROR: (gcloud.run.deploy) Revision 'backstage-deployment-00017-685' is not ready and cannot serve traffic. spec.template.spec.containers[0].env[8].value_from.secret_key_ref.name: Secret projects/1006240973223/secrets/github_client_secret/versions/latest was not found spec.template.spec.containers[0].env[9].value_from.secret_key_ref.name: Secret projects/1006240973223/secrets/github_client_id/versions/latest was not found
Create and push the Docker image to GAR
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deploy image on cloud run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636