Skip to content

Commit

Permalink
Merge pull request #205 from spacetelescope/release/v0.4.44
Browse files Browse the repository at this point in the history
Release/v0.4.44
  • Loading branch information
raswaters authored Aug 13, 2024
2 parents 4d44300 + 340ce06 commit 7710d1f
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 14 deletions.
5 changes: 2 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
- default base docker image set to CALDP_20240509_CAL_final
- default crds update to hst_1155.pmap
- SSL certificate workflow updates to pull certificates from the ITSD S3 bucket
- default base docker image set to CALDP_20240813_CAL_final
- default crds update to hst_1169.pmap
2 changes: 1 addition & 1 deletion terraform/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ echo $aws_tfstate
cd $CALCLOUD_BUILD_DIR/ami_rotation
ami_json=$(echo $(awsudo $ADMIN_ARN aws ec2 describe-images --region us-east-1 --executable-users self))
ci_ami=`python3 parse_image_json.py "${ami_json}" STSCI-AWS-Linux-2`
ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-HST-REPRO-ECS`
ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-ECS-AL2023`

if [[ "$ci_ami" =~ ^ami-[a-z0-9]+$ ]]; then
echo $ci_ami
Expand Down
2 changes: 1 addition & 1 deletion terraform/deploy_ami_rotate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ echo $aws_tfstate
cd $CALCLOUD_BUILD_DIR/ami_rotation
ami_json=$(echo $(awsudo $ADMIN_ARN aws ec2 describe-images --region us-east-1 --executable-users self))
ci_ami=`python3 parse_image_json.py "${ami_json}" STSCI-AWS-Linux-2`
ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-HST-REPRO-ECS`
ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-ECS-AL2023`

if [[ "$ci_ami" =~ ^ami-[a-z0-9]+$ ]]; then
echo $ci_ami
Expand Down
2 changes: 1 addition & 1 deletion terraform/deploy_ami_rotate_codebuild_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ echo $aws_tfstate
cd $CALCLOUD_BUILD_DIR/ami_rotation
ami_json=$(echo $(aws ec2 describe-images --region us-east-1 --executable-users self))
ci_ami=`python3 parse_image_json.py "${ami_json}" STSCI-AWS-Linux-2`
ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-HST-REPRO-ECS`
ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-ECS-AL2023`

if [[ "$ci_ami" =~ ^ami-[a-z0-9]+$ ]]; then
echo $ci_ami
Expand Down
1 change: 0 additions & 1 deletion terraform/deploy_ami_rotation_codebuild_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ source deploy_checkout_repos.sh
cd ${CALCLOUD_BUILD_DIR}/iac/codebuild
pwd

#./copy-cert # copy the cert from CI node AMI and replace the cert in current dir
source hst_admin_role_shim.sh cert-update

set -o pipefail && docker build -f Dockerfile -t ${AMIROTATION_DOCKER_IMAGE_UNSCANNED} --build-arg aws_env="${aws_env}" --build-arg CALCLOUD_VER="${CALCLOUD_VER}" .
Expand Down
6 changes: 3 additions & 3 deletions terraform/deploy_vars.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash -xu
export CALCLOUD_VER="v0.4.43"
export CALDP_VER="v0.2.25"
export CAL_BASE_IMAGE="stsci/hst-pipeline:CALDP_20240509_CAL_final"
export CALCLOUD_VER="v0.4.44"
export CALDP_VER="v0.2.26"
export CAL_BASE_IMAGE="stsci/hst-pipeline:CALDP_20240813_CAL_final"
export BASE_IMAGE_TAG=`cut -d ":" -f2- <<< ${CAL_BASE_IMAGE} `

export COMMON_IMAGE_TAG="CALCLOUD_${CALCLOUD_VER}-CALDP_${CALDP_VER}-BASE_${BASE_IMAGE_TAG}"
Expand Down
8 changes: 4 additions & 4 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ variable crds_context {
description = "the crds context to be the default for the environment"
type = map(string)
default = {
"-sb" = "hst_1101.pmap"
"-dev" = "hst_1101.pmap"
"-test" = "hst_1155.pmap"
"-ops" = "hst_1155.pmap"
"-sb" = "hst_1165.pmap"
"-dev" = "hst_1165.pmap"
"-test" = "hst_1169.pmap"
"-ops" = "hst_1169.pmap"
}
}

Expand Down

0 comments on commit 7710d1f

Please sign in to comment.