Deploy backstage #88
cd-workflow.yaml
on: workflow_run
Create and Push Docker Image to GAR
4m 18s
Deploy Image on Cloud Run
38s
Annotations
1 error
Deploy Image on Cloud Run
google-github-actions/deploy-cloudrun failed with: failed to execute gcloud command `gcloud run deploy *** --quiet --image ***/backstage-image:3b68812bc6b648f32d2040efb03fe68c7cb0d999 --update-env-vars POSTGRES_HOST=/cloudsql/***:***:backstage-pg,POSTGRES_PORT=5432,POSTGRES_USER=postgres,POSTGRES_DB=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,GITLAB_TOKEN=gitlab_token:latest,TECHDOCS_GCS_CREDENTIALS=techdocs_gcs_credentials:latest --update-labels managed-by=github-actions,commit-sha=3b68812bc6b648f32d2040efb03fe68c7cb0d999 --platform managed --format json --region *** --project *** --port 7007 --add-cloudsql-instances ***:***: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 [***] in project [***] region [***]
Deploying...
Creating Revision.................................................................................failed
Deployment failed
ERROR: (gcloud.run.deploy) Revision '***-00002-wbr' is not ready and cannot serve traffic. spec.template.spec.containers[0].env[10].value_from.secret_key_ref.name: Secret projects/1006240973223/secrets/prod_github_token/versions/latest was not found
spec.template.spec.containers[0].env[11].value_from.secret_key_ref.name: Secret projects/1006240973223/secrets/prod_github_client_secret/versions/latest was not found
|