Skip to content

Commit

Permalink
Update distribution source for CI bootstrap-integration-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vpnguye2 committed Jan 10, 2023
1 parent b97e543 commit 283f947
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions bamboo/bootstrap-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@ 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

## Works but not right
## 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
## Right
# 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

## Update data-persistence
Expand Down

0 comments on commit 283f947

Please sign in to comment.