Skip to content

Commit

Permalink
Merge pull request OHIF#4 from ImagingDataCommons/wjrl-idc-deployment
Browse files Browse the repository at this point in the history
Fix config target dir slash
  • Loading branch information
wlongabaugh authored Sep 29, 2023
2 parents e9670d1 + 5e22730 commit 4779f46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions idc-deploy-shell/pull_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

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}/
# Suddenly gsutil does not like trailing slashes as gs destinations?
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}/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."
Expand Down

0 comments on commit 4779f46

Please sign in to comment.