You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add --cleanup CLI flag with deploy/cleanup actions
Replace blanket '|| true' error suppression in teardown with proper
conditional logic: if/then guards for swarm leave, directory removal,
and VIP cleanup; xargs -r for container, volume, and network removal.
Exit codes are checked via _run_ssh_command() and real failures raise
RuntimeError.
Deploy action (default) always tears down existing state first, making
it idempotent and safe for both fresh installs and redeployments.
Add redeploy and cleanup test stages to the test suite:
- redeploy.yml: restarts stopped nodes from disaster tests, runs a
fresh deploy, and verifies the cluster is fully functional again.
- cleanup.yml: runs --cleanup and verifies no containers, volumes,
deployment directories, .pyc files, or VIP addresses remain.
Closes#49
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments