Skip to content
Snippets Groups Projects

wip: test-keypair without file

Closed Krish Moodbidri requested to merge feat-test-keypair into feat-deploy-xdmod-supremm
Compare and Show latest version
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -35,18 +35,19 @@ tf-validate:
- terraform validate
- pwd
- terraform plan
- 'sed -i -E "s/(cod_deploy: ).*/\1false/" CRI_XCBC/group_vars/all'
tf-apply:
stage: build
tags: [build]
script:
- ls -al . && git status && ls -al CRI_XCBC && ls -al CRI_XCBC/.git && ls -al CRI_Cluster_Monitor
- 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
- cd CRI_XCBC && git checkout dev && git pull && git status && cd ..
- 'sed -i -E "s/(cod_deploy: ).*/\1false/" CRI_XCBC/group_vars/all'
- terraform apply -auto-approve || terraform destroy -auto-approve && false
Loading