Skip to content
Snippets Groups Projects
Commit f69118aa authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

revert back to original code for picking image

parent 772933b4
No related branches found
No related tags found
2 merge requests!6Add CD feature to the repo,!1wip: test-keypair without file
Pipeline #8072 passed with stages
in 2 minutes and 50 seconds
......@@ -49,8 +49,8 @@ tf-apply:
- export TF_VAR_external_network="tf-dmznet-$BUILD_DATE"
- export TF_VAR_keypair_name="os-gen-keypair-$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]}"
- export TF_VAR_image_ohpc="xdmod-20230622050853"
- export TF_VAR_image_ohpc="${XDMOD_IMAGES[1]}"
# - export TF_VAR_image_ohpc="xdmod-20230622050853"
- echo $TF_VAR_image_ohpc
- terraform apply -auto-approve || terraform destroy -auto-approve
......
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