exit 0
fi
+# do not delete the stack if not explicitly set to delete
if [[ "$DELETE_STACK" != "yes" ]]; then
echo "-------------------------------------------------------------------------"
echo "Info: Stack will not be deleted upon the completion of the job!"
exit 0
fi
+# k8s and onap scenario have stacks so exit for others
+if [[ ! "$DEPLOY_SCENARIO" =~ ^k8-.*|^onap-.* ]]; then
+ echo "-------------------------------------------------------------------------"
+ echo "Info: Nothing to delete!"
+ echo "-------------------------------------------------------------------------"
+ exit 0
+fi
+
echo
echo
echo "-------------------------------------------------------------------------"