Skip to content

Commit

Permalink
caldp version incrememt for deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
bhayden53 committed Mar 24, 2021
1 parent f698339 commit 7ded82b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions terraform/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

# variables that will likely be changed frequently
CALCLOUD_VER="0.3.1"
CALDP_VER="0.2.0"
CALDP_VER="0.2.1"
CAL_BASE_IMAGE="stsci/hst-pipeline:CALDP_20201208_DRZ_final"
CSYS_VER="CALDP_20201208"
# this is the tag that the image will have in AWS ECR
CALDP_IMAGE_TAG="latest"

Expand Down Expand Up @@ -64,7 +65,7 @@ cd ../calcloud-${CALCLOUD_VER}/terraform
# must taint the compute env to be safe about launch template handling. see comments in batch.tf
awsudo $ADMIN_ARN terraform taint aws_batch_compute_environment.calcloud
# manual confirmation required
awsudo $ADMIN_ARN terraform apply -var "awsysver=${CALCLOUD_VER}" -var "awsdpver=${CALDP_VER}" -var "csys_ver=${CAL_BASE_IMAGE##*:}"
awsudo $ADMIN_ARN terraform apply -var "awsysver=${CALCLOUD_VER}" -var "awsdpver=${CALDP_VER}" -var "csys_ver=${CSYS_VER}"

# make sure needed prefixes exist in primary s3 bucket
# pulls the bucket name in from a tag called Name
Expand Down

0 comments on commit 7ded82b

Please sign in to comment.