nhsuk / ci-deployment

MIT License
6 stars 5 forks source link

Delete rancher stack when PR is merged #2

Closed st3v3nhunt closed 7 years ago

st3v3nhunt commented 7 years ago

Atm, CI builds create new stacks in rancher. When the PR is deleted the stack isn't - it should be.

This issue is to highlight the fact that when a PR is merged (or closed) the stack on Rancher for that PR should be deleted.

adamgraves-choices commented 7 years ago

With the latest changes adding a description to the stack, we now use https://github.com/nhsuk/rancher-cleanup which removes old PRs every 10 minutes.