Skip to content

Commit

Permalink
Fixing secretManager fetching syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
james03160927 committed May 26, 2024
1 parent 74d5bef commit 94c2858
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ steps:
entrypoint: "bash"
args:
- "-c"
- |
- |
curl -sSL https://atlasgo.sh | sh
atlas migrate apply --dir "file://ent/migrate/migrations" --url "$STAGING_DB_CONNECTION_STRING"
atlas migrate apply --dir "file://ent/migrate/migrations" --url $STAGING_DB_CONNECTION_STRING
# Publish the release
- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk:458.0.1'
Expand All @@ -26,9 +26,11 @@ steps:
--region=us-central1
--delivery-pipeline=comfy-backend-api-pipeline
--images=registry-backend-image-substitute=us-central1-docker.pkg.dev/dreamboothy/registry-backend/registry-backend-image:$SHORT_SHA
options:
machineType: 'E2_HIGHCPU_8'
availableSecrets:
secretManager:
- versionName: projects/dreamboothy/secrets/STAGING_DB_CONNECTION_STRING/versions/latest
env: 'STAGING_DB_CONNECTION_STRING'
- versionName: projects/357148958219/secrets/STAGING_SUPABASE_CONNECTION_STRING/versions/latest
env: 'STAGING_DB_CONNECTION_STRING'

options:
machineType: 'E2_HIGHCPU_8'

0 comments on commit 94c2858

Please sign in to comment.