Add purge: true field for cleaning up stacks #4
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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 https://git.autonomic.zone/autonomic-cooperative/stack-ssh-deploy/issues/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 https://git.autonomic.zone/autonomic-cooperative/stack-ssh-deploy/issues/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 https://git.autonomic.zone/compose-stacks/planning/issues/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.