Skip to content

Commit

Permalink
perhaps we need to specify this manually
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahl committed Nov 1, 2024
1 parent f6de4d4 commit f9da52e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .cloudbuild/bluegreen-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ for cmd in git yq kubectl gcloud; do
fi
done

SHORT_SHA=$1

####
# Retrieve current active blue/green and verify that it matches what's currently defined in git
####
Expand Down
2 changes: 1 addition & 1 deletion .cloudbuild/rev-browser-bluegreen.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
steps:
- name: 'us-central1-docker.pkg.dev/${PROJECT_ID}/tgg-sre-images/tgg-deploykit:testing-3'
entrypoint: 'bash'
args: ['./bluegreen-update.sh']
args: ['./bluegreen-update.sh', '$SHORT_SHA']
dir: '.cloudbuild'
env:
- 'CLOUDSDK_COMPUTE_ZONE=us-central1-b'
Expand Down

0 comments on commit f9da52e

Please sign in to comment.