Skip to content
Snippets Groups Projects
Commit 0cdde073 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

prefix stackname with CICD consistently. add debug output

Former-commit-id: 346c1043
parent 1c4dcb0f
No related branches found
No related tags found
No related merge requests found
...@@ -3,9 +3,12 @@ set -e ...@@ -3,9 +3,12 @@ set -e
export ANSIBLE_HOST_KEY_CHECKING=False export ANSIBLE_HOST_KEY_CHECKING=False
source ./$NECTAR_ALLOCATION-openrc.sh source ./$NECTAR_ALLOCATION-openrc.sh
openstack stack list
cd CICD cd CICD
STACKNAME=CICD$STACKNAME
echo "[ansible_create_cluster_script] Prefixing the Stackname with CICD because heatcicdwrapper does he same" echo "[ansible_create_cluster_script] Prefixing the Stackname with CICD because heatcicdwrapper does he same"
python3 ../scripts/make_inventory.py static CICD$STACKNAME | tee ./files/inventory.$STACKNAME && chmod 755 ./files/inventory.$STACKNAME python3 ../scripts/make_inventory.py static CICD$STACKNAME | tee ./files/inventory.$STACKNAME && chmod 755 ./files/inventory.$STACKNAME
grep -qv "I could not find any resouces tagged with project_name:" ./files/inventory.$STACKNAME #fail if inventory file is empty grep -qv "I could not find any resouces tagged with project_name:" ./files/inventory.$STACKNAME #fail if inventory file is empty
......
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