Add purge: true field for cleaning up stacks #4
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Once autonomic-cooperative/stack-ssh-deploy#3 is in place we can be sure that what we deploy is actually deployed. That is great. Afterwards, we're going to want to tear things down. That includes things like secrets (see autonomic-cooperative/stack-ssh-deploy#2) and also volumes, networks and so on. We should be able to do some pruning and filter by the stack name. This will help make the CI more reproducible.
Also part of compose-stacks/planning#8.
Comrades, it is raining badly and I'm back hacking. Done in https://git.autonomic.zone/autonomic-cooperative/stack-ssh-deploy/src/branch/main/plugin.sh#L63-L76. Just testing this out to make sure it works...
We're winning.