Only delete stack at end of job if CREATE_[COMPLETE|FAILED] status 90/50990/3
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 25 Jan 2017 05:02:52 +0000 (21:02 -0800)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 25 Jan 2017 05:27:42 +0000 (21:27 -0800)
commitc4e686122e32211b16769c0cf8292794d9350666
treeedc9338fe06a32d48a70b9a5529a13e9a8f47097
parent96dac875a4403fe976b6c9c970583af4d58158ce
Only delete stack at end of job if CREATE_[COMPLETE|FAILED] status

This patch will make the post build cleanup script only clear
stacks with CREATE_COMPLETE and CREATE_FAILED statuses.

Let the periodic cleanup job clear CREATE_FAILED and DELETE_FAILED
statuses. This is to help Rackspace troubleshoot our orchestration
stacks getting stuck in Rackspace.

Change-Id: I6fe75fe380508533bd440297e32bdddce2a7cc71
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/releng-macros.yaml