Merge "Print the name of the stack being deleted"
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 14 Dec 2017 22:58:27 +0000 (22:58 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 14 Dec 2017 22:58:27 +0000 (22:58 +0000)
jjb/opendaylight-infra-cleanup-stale-stacks.sh

index ff42ed03c8a12f2012518598a052dc3e6a57d7e7..6f6b38d675630e42c76241312d4a98c99c83af58 100644 (file)
@@ -46,6 +46,7 @@ done
 # Search for stacks that are not in use by either releng or sandbox silos and
 # delete them.
 for STACK_NAME in "${OS_STACKS[@]}"; do
+    echo "Deleting stack $STACK_NAME"
     STACK_STATUS=$(openstack stack show -f value -c "stack_status" "$STACK_NAME")
     if [[ "${ACTIVE_BUILDS[*]}" =~ $STACK_NAME ]]; then
         # No need to delete stacks if there exists an active build for them