Skip to content
Snippets Groups Projects
Commit c18e1d8b authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Using the latest xdmod built image (packer) for deploying the terraform &...

Using the latest xdmod built image (packer) for deploying the terraform & adding false to cod_deploy to prevent rabbitmq from building as that requires ssh-key to be placed in GitLab
parent 6f94a7f0
No related branches found
No related tags found
2 merge requests!6Add CD feature to the repo,!1wip: test-keypair without file
Pipeline #7995 failed with stages
in 3 minutes and 7 seconds
......@@ -43,6 +43,10 @@ tf-apply:
- export BUILD_DATE=$(TZ=America/Chicago date +%Y%m%d)
- export TF_VAR_internal_network="tf-clusternet-$BUILD_DATE"
- export TF_VAR_external_network="tf-dmznet-$BUILD_DATE"
- XDMOD_IMAGES=($(openstack image list --sort-column Name --sort-descending -f value -c Name -c ID | grep -P ' xdmod-\d{14}$' | awk '{print $2}'))
- export TF_VAR_image_ohpc="${XDMOD_IMAGES[1]}"
- echo $TF_VAR_image_ohpc
- 'sed -i -E "s/(cod_deploy: ).*/\1false/" CRI_XCBC/group_vars/all'
- terraform apply -auto-approve || terraform destroy -auto-approve && false
clean-up:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment