Skip to content

Commit

Permalink
hotfix for deploy script not deleting previous crds context file (#109)
Browse files Browse the repository at this point in the history
* quickfix for deploy script to remove old crds context file

* version increment
  • Loading branch information
bhayden53 authored Apr 30, 2021
1 parent eb936cd commit 0b1b61e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion terraform/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# ADMIN_ARN is set in the ci node env and should not be included in this deploy script

# variables that will likely be changed frequently
CALCLOUD_VER="0.4.9"
CALCLOUD_VER="0.4.10"
CALDP_VER="0.2.8"
CAL_BASE_IMAGE="stsci/hst-pipeline:CALDP_20210415_CAL_final"

Expand Down Expand Up @@ -92,6 +92,8 @@ crds_response=`awsudo $ADMIN_ARN terraform output | grep "crds"`
crds_context=${crds_response##*=}
crds_context=`echo $crds_context | tr -d '"'`

awsudo $ADMIN_ARN aws s3 rm s3://${bucket_url}/crds_env_vars/ --recursive

awsudo $ADMIN_ARN aws s3api put-object --bucket $bucket_url --key messages/
awsudo $ADMIN_ARN aws s3api put-object --bucket $bucket_url --key inputs/
awsudo $ADMIN_ARN aws s3api put-object --bucket $bucket_url --key outputs/
Expand Down

0 comments on commit 0b1b61e

Please sign in to comment.