Print the name of the stack being deleted 76/66476/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 14 Dec 2017 21:33:04 +0000 (16:33 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 14 Dec 2017 22:00:59 +0000 (17:00 -0500)
Change-Id: Id7da06b3d91b4b60b6e5f5b477bcb4b716f65324
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
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