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

making stackname prefixing even more awesome robust

Former-commit-id: ab6c57fa
parent 15934b41
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ fi ...@@ -16,7 +16,7 @@ fi
STACKNAME=$2 STACKNAME=$2
if [[ "$STACKNAME" == "$CICD"* ]]; then if [[ "$STACKNAME" == "CICD"* ]]; then
echo "CICD found in stackname. doing nothing" echo "CICD found in stackname. doing nothing"
else else
STACKNAME="CICD"$STACKNAME STACKNAME="CICD"$STACKNAME
...@@ -24,7 +24,7 @@ fi ...@@ -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 { function check_stack_exists {
if openstack stack list | grep -w $STACKNAME; 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