Skip to content

Commit

Permalink
update scripts to non-test values
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahl committed Nov 1, 2024
1 parent cd5d432 commit 6f3a4f1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .cloudbuild/bluegreen-flip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ chmod 400 /root/.ssh/id_rsa
ssh-keyscan -t rsa github.com > /root/.ssh/known_hosts
git clone git@github.com:broadinstitute/gnomad-deployments.git

cd gnomad-deployments/browser-test/prod-deflector
cd gnomad-deployments/gnomad-browser/prod-deflector

CURRENT_DEPLOYMENT=$(yq '.spec.selector.deployment' < gnomad-bluegreen.service.yaml)

Expand Down
2 changes: 1 addition & 1 deletion .cloudbuild/bluegreen-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ chmod 400 /root/.ssh/id_rsa
ssh-keyscan -t rsa github.com > /root/.ssh/known_hosts
git clone git@github.com:broadinstitute/gnomad-deployments.git

cd gnomad-deployments/browser-test
cd gnomad-deployments/gnomad-browser

INTENDED_DEPLOYMENT=$(yq '.spec.selector.deployment' < prod-deflector/gnomad-bluegreen.service.yaml)

Expand Down
2 changes: 1 addition & 1 deletion .cloudbuild/flip-browser-bluegreen.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- name: 'us-central1-docker.pkg.dev/${PROJECT_ID}/tgg-sre-images/tgg-deploykit:testing-4'
- name: 'us-east1-docker.pkg.dev/${PROJECT_ID}/gnomad/tgg-deploykit:testing-4'
entrypoint: 'bash'
args: ['./bluegreen-flip.sh']
dir: '.cloudbuild'
Expand Down
6 changes: 3 additions & 3 deletions .cloudbuild/rev-browser-bluegreen.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
steps:
- name: 'us-central1-docker.pkg.dev/${PROJECT_ID}/tgg-sre-images/tgg-deploykit:testing-4'
- name: 'us-east1-docker.pkg.dev/${PROJECT_ID}/gnomad/tgg-deploykit:testing-4'
entrypoint: 'bash'
args: ['./bluegreen-update.sh', '$SHORT_SHA']
dir: '.cloudbuild'
env:
- 'CLOUDSDK_COMPUTE_ZONE=us-central1-b'
- 'CLOUDSDK_CONTAINER_CLUSTER=gnomad-sj'
- 'CLOUDSDK_COMPUTE_ZONE=us-east1-b'
- 'CLOUDSDK_CONTAINER_CLUSTER=gnomad-v4'
secretEnv:
- 'DEPLOY_KEY'
availableSecrets:
Expand Down

0 comments on commit 6f3a4f1

Please sign in to comment.