From 0ab4632506ebf12bec984d561c7e7f62ba82c033 Mon Sep 17 00:00:00 2001 From: Jennifer Tran <12633533+botanical@users.noreply.github.com> Date: Wed, 11 Jan 2023 20:24:19 -0500 Subject: [PATCH] Modifying sed in bamboo script to attempt to set source for cumulus-distribution and distribution --- bamboo/bootstrap-integration-tests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bamboo/bootstrap-integration-tests.sh b/bamboo/bootstrap-integration-tests.sh index 3c602188ceb..f39c7720157 100755 --- a/bamboo/bootstrap-integration-tests.sh +++ b/bamboo/bootstrap-integration-tests.sh @@ -21,8 +21,11 @@ if [[ $USE_TERRAFORM_ZIPS == true ]]; then sed -i "s/source[ ]*= \"..\/..\/tf-modules\/cumulus_ecs_service/source = \"https:\/\/github.com\/nasa\/cumulus\/releases\/download\/$VERSION_FLAG\/terraform-aws-cumulus-ecs-service.zip\/\//g" *.tf # Update to use cumulus core module sed -i "s/source[ ]*= \"..\/..\/tf-modules\/cumulus/source = \"https:\/\/github.com\/nasa\/cumulus\/releases\/download\/$VERSION_FLAG\/terraform-aws-cumulus.zip\/\/tf-modules\/cumulus/g" *.tf + + ## [MHS, 04/29/2021] fix cumulus_distribution package not released separately. + sed -i "s/source[ ]*= \"..\/..\/tf-modules\/cumulus_distribution\"/source = \"https:\/\/github.com\/nasa\/cumulus\/releases\/download\/$VERSION_FLAG\/terraform-aws-cumulus.zip\/\/tf-modules\/cumulus_distribution\"/g" *.tf # Update to use distribution module - sed -i "s/source[ ]*= \"..\/..\/tf-modules\/distribution/source = \"https:\/\/github.com\/nasa\/cumulus\/releases\/download\/$VERSION_FLAG\/terraform-aws-cumulus-distribution.zip\/\//g" *.tf + sed -i "s/source[ ]*= \"..\/..\/tf-modules\/distribution/source = \"https:\/\/github.com\/nasa\/cumulus\/releases\/download\/$VERSION_FLAG\/terraform-aws-cumulus.zip\/\/tf-modules\/distribution\"/g" *.tf ## Update data-persistence cd ../data-persistence-tf