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

Add command to go to the dev branch in CRI_XCBC repo

parent 2c5b8ac1
No related branches found
No related tags found
2 merge requests!6Add CD feature to the repo,!1wip: test-keypair without file
Pipeline #8014 failed with stages
in 4 minutes and 17 seconds
......@@ -41,13 +41,13 @@ 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 status && cd ..
- 'sed -i -E "s/(cod_deploy: ).*/\1false/" CRI_XCBC/group_vars/all'
- terraform apply -auto-approve || terraform destroy -auto-approve && false
......
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