Skip to content

Commit

Permalink
Fix config name
Browse files Browse the repository at this point in the history
  • Loading branch information
wlongabaugh committed Sep 29, 2023
1 parent 3916ede commit 67aa569
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ commands:
name: 'Set tier-specific configuration file'
command: |
sudo -E /bin/bash ./idc-deploy-shell/pull_config.sh
xargs -a viewer_deployment_config.txt -I{} echo "export {}" >> $BASH_ENV
xargs -a viewer3_deployment_config.txt -I{} echo "export {}" >> $BASH_ENV
auth:
steps:
Expand Down
4 changes: 3 additions & 1 deletion idc-deploy-shell/pull_config.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/usr/bin/env bash

if [ ! -f "/home/circleci/${CIRCLE_PROJECT_REPONAME}/viewer3_deployment_config.txt" ]; then
echo gs://${DEPLOYMENT_BUCKET}/viewer3_deployment_config.txt
echo /home/circleci/${CIRCLE_PROJECT_REPONAME}/
gsutil cp gs://${DEPLOYMENT_BUCKET}/viewer3_deployment_config.txt /home/circleci/${CIRCLE_PROJECT_REPONAME}/
chmod ugo+r /home/circleci/${CIRCLE_PROJECT_REPONAME}/viewe3_deployment_config.txt
chmod ugo+r /home/circleci/${CIRCLE_PROJECT_REPONAME}/viewer3_deployment_config.txt
if [ ! -f "/home/circleci/${CIRCLE_PROJECT_REPONAME}/viewer3_deployment_config.txt" ]; then
echo "[ERROR] Couldn't assign viewer deployment configuration file - exiting."
exit 1
Expand Down

0 comments on commit 67aa569

Please sign in to comment.