CD Pipeline #14
cd-workflow.yaml
on: push
Create and push the Docker image to GAR
3m 51s
Deploy image on cloud run
1m 13s
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:ce64c587cf10761d6f5b2600247bb62e4f2a9913 --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 --update-labels ^,^managed-by=github-actions,commit-sha=ce64c587cf10761d6f5b2600247bb62e4f2a9913 --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-00004-ff5' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=7007 environment variable. Logs for this revision might contain more information.
Logs URL: https://console.cloud.google.com/logs/viewer?project=code-idp&resource=cloud_run_revision/service_name/backstage-deployment/revision_name/backstage-deployment-00004-ff5&advancedFilter=resource.type%3D%22cloud_run_revision%22%0Aresource.labels.service_name%3D%22backstage-deployment%22%0Aresource.labels.revision_name%3D%22backstage-deployment-00004-ff5%22
For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start
|