ci(palletjack): switch to cloud run job #79
palletjack.yml
on: push
Test
6m 16s
Deploy Production to GCF
0s
Deploy Staging to GCF
33s
Annotations
1 error and 1 warning
Deploy Staging to GCF
google-github-actions/deploy-cloudrun failed with: failed to execute gcloud command `gcloud run jobs deploy palletjack --source src/palletjack/src/roadkill --update-env-vars ^,^PROJECT_ID=*** --set-secrets ^,^/secrets/app/secrets.json=***/skid-secrets --labels ^,^managed-by=github-actions,commit-sha=81912a8d52ee745ef01a3077f29b40ef0be1aff6 --format json --region us-central1 --memory 4G --service-account palletjack-sa@***.iam.gserviceaccount.com --max-retries 1 --task-timeout 60m --parallelism 1`: ERROR: Permission denied while accessing Artifact Registry. Artifact Registry access is required to deploy from source.
ERROR: (gcloud.run.jobs.deploy) PERMISSION_DENIED: Permission 'artifactregistry.repositories.get' denied on resource '//artifactregistry.googleapis.com/projects/***/locations/us-central1/repositories/cloud-run-source-deploy' (or it may not exist). This command is authenticated as *** using the credentials in /home/runner/work/roadkill-mobile/roadkill-mobile/gha-creds-8b0b65208152addd.json, specified by the [auth/credential_file_override] property.
- '@type': type.googleapis.com/google.rpc.ErrorInfo
domain: artifactregistry.googleapis.com
metadata:
permission: artifactregistry.repositories.get
resource: projects/***/locations/us-central1/repositories/cloud-run-source-deploy
reason: IAM_PERMISSION_DENIED
|
Deploy Staging to GCF
Support for Cloud Run jobs in this GitHub Action is in beta and is not covered by the semver backwards compatibility guarantee.
|