Add purge: true field for cleaning up stacks #4

Closed
opened 2020-09-25 13:00:43 +00:00 by decentral1se · 2 comments
Owner

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.

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.
Author
Owner

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...

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...
Author
Owner
We're winning. > https://drone.autonomic.zone/compose-stacks/wordpress/21/1/2
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/stack-ssh-deploy#4
No description provided.