Skip to content

move secrets to yml env #26

move secrets to yml env

move secrets to yml env #26

Re-run triggered July 19, 2024 19:12
Status Failure
Total duration 2m 52s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
deploy-prod
google-github-actions/deploy-cloudrun failed with: failed to execute gcloud command `gcloud run deploy website-project --source ./ --update-env-vars ^,^DOMAIN="https://gdcheerios.com" --update-secrets ^,^DB_HOSTNAME=PROD_DB_HOSTNAME:latest,DB_PASSWORD=PROD_DB_PASSWORD:latest,DB_USER=PROD_DB_USER:latest,DB=PROD_DB:latest,OSU_API_KEY=PROD_OSU_API_KEY:latest,OSU_SECRET=PROD_OSU_SECRET:latest,CLIENT_ID=PROD_CLIENT_ID:latest,SECRET=PROD_SECRET:latest --update-labels ^,^managed-by=github-actions,commit-sha=334efb17fc8158aa57ac08c338d30192c02238e1 --format json --region us-central1`: This command is equivalent to running `gcloud builds submit --tag [IMAGE] ./` and `gcloud run deploy website-project --image [IMAGE]` Building using Dockerfile and deploying container to Cloud Run service [website-project] in project [gdcheerioscom] region [us-central1] Building and deploying... Uploading sources...............done Building Container...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done Creating Revision..........................................................................................................................................................................................................................failed Deployment failed ERROR: (gcloud.run.deploy) Revision 'website-project-00021-7sq' is not ready and cannot serve traffic. spec.template.spec.containers[0].env[1].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/PROD_DB_HOSTNAME/versions/latest was not found spec.template.spec.containers[0].env[2].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/PROD_DB_PASSWORD/versions/latest was not found spec.template.spec.containers[0].env[3].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/PROD_DB_USER/versions/latest was not found spec.template.spec.containers[0].env[4].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/PROD_DB/versions/latest was not found spec.template.spec.containers[0].env[5].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/PROD_OSU_API_KEY/versions/latest was not found spec.template.spec.containers[0].env[6].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/PROD_OSU_SECRET/versions/latest was not found spec.template.spec.containers[0].env[7].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/PROD_CLIENT_ID/versions/latest was not found spec.template.spec.containers[0].env[8].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/PROD_SECRET/versions/latest was not found
deploy-dev
google-github-actions/deploy-cloudrun failed with: failed to execute gcloud command `gcloud run deploy dev***com --source ./ --update-env-vars ^,^DOMAIN="https://dev.***" --update-secrets ^,^DB_HOSTNAME=DEV_DB_HOSTNAME:latest,DB_PASSWORD=DEV_DB_PASSWORD:latest,DB_USER=DEV_DB_USER:latest,DB=DEV_DB:latest,OSU_API_KEY=DEV_OSU_API_KEY:latest,OSU_SECRET=DEV_OSU_SECRET:latest,CLIENT_ID=DEV_CLIENT_ID:latest,SECRET=DEV_SECRET:latest --update-labels ^,^managed-by=github-actions,commit-sha=334efb17fc8158aa57ac08c338d30192c02238e1 --format json --region us-central1`: This command is equivalent to running `gcloud builds submit --tag [IMAGE] ./` and `gcloud run deploy dev***com --image [IMAGE]` Building using Dockerfile and deploying container to Cloud Run service [dev***com] in project [***com] region [us-central1] Building and deploying... Uploading sources................done Building Container..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done Creating Revision..................................................................................................................................................................................................................................................................failed Deployment failed ERROR: (gcloud.run.deploy) Revision 'dev***com-00016-wdj' is not ready and cannot serve traffic. spec.template.spec.containers[0].env[1].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/DEV_DB_HOSTNAME/versions/latest was not found spec.template.spec.containers[0].env[2].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/DEV_DB_PASSWORD/versions/latest was not found spec.template.spec.containers[0].env[3].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/DEV_DB_USER/versions/latest was not found spec.template.spec.containers[0].env[4].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/DEV_DB/versions/latest was not found spec.template.spec.containers[0].env[5].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/DEV_OSU_API_KEY/versions/latest was not found spec.template.spec.containers[0].env[6].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/DEV_OSU_SECRET/versions/latest was not found spec.template.spec.containers[0].env[7].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/DEV_CLIENT_ID/versions/latest was not found spec.template.spec.containers[0].env[8].value_from.secret_key_ref.name: Secret projects/768620707395/secrets/DEV_SECRET/versions/latest was not found
deploy-prod
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
deploy-prod
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
deploy-dev
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
deploy-dev
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/