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

making stackname prefixing even more awesome robust

parent 232b6a7d
No related branches found
No related tags found
3 merge requests!297Cicd merge back,!284Cicd,!282CICD
......@@ -16,7 +16,7 @@ fi
STACKNAME=$2
if [[ "$STACKNAME" == "$CICD"* ]]; then
if [[ "$STACKNAME" == "CICD"* ]]; then
echo "CICD found in stackname. doing nothing"
else
STACKNAME="CICD"$STACKNAME
......@@ -24,7 +24,7 @@ fi
echo "[heatcicdwrapper] Prefixing Stackname with CICD. This is a safety feature because this script can also delete stacks"
echo "[heatcicdwrapper] Prefixing Stackname with CICD. This is a safety feature because this script can also delete stacks" $STACKNAME
function check_stack_exists {
if openstack stack list | grep -w $STACKNAME;
......
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