.github/workflows/cd-workflow.yaml #51
cd-workflow.yaml
on: workflow_run
Create and push the Docker image to GAR
4m 33s
Deploy image on cloud run
1m 3s
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
|