Add job to cleanup cicd stacks and keypairs 80/5680/6
authorafenner <andrew.fenner@est.tech>
Tue, 11 Aug 2020 16:02:41 +0000 (17:02 +0100)
committerafenner <andrew.fenner@est.tech>
Wed, 12 Aug 2020 08:26:13 +0000 (09:26 +0100)
commitb252d14afc71426da984abc144a26b630b0a2296
tree9bb169da4e5e91789d8c03efc0a8f1b1c582f2c6
parent415d515459879913f4f0dd6e85c8843642548add
Add job to cleanup cicd stacks and keypairs

If DELETE_STACK is set to false for the cicd jobs then stacks can hang around.
This job deletes stacks and keypairs based on a pattern that are older than a time

Change-Id: I92be06944a7c88e5c9f3dd61ed588025102947f2
Signed-off-by: afenner <andrew.fenner@est.tech>
jjb/cloud-infra/common/cloud-infra-cleanup-stacks.yaml [new file with mode: 0644]
jjb/cloud-infra/engine-macros.yaml
jjb/cloud-infra/scripts/cleanup-heat-stacks.sh [new file with mode: 0644]