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

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
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

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