Files
computer-playbook/scripts/tests/deploy/local/purge
kevinveenbirkenbachandClaude Opus 4.8 cf765ee00c refactor: single /var/lib SPOT + swarm Playwright artifact upload
SPOT: declare the var-lib base once in default.env as INFINITO_DIR_VAR_LIB; the env build derives INFINITO_PLAYWRIGHT_REPORTS_BASE_DIR from it; reference it everywhere (utils/paths.py, scripts via ${...:?}, tests, the dev inventory's DIR_VAR_LIB injection) instead of hardcoding the literal. group_vars keeps the literal default; the env-lookup lives in the dev inventory per the no-ansible-env-lookups lint rule. pull_specific_host.py --folder is now required and the role passes {{ DIR_BACKUPS }}.

Swarm e2e: collect_playwright_reports.sh docker-cp's the reports off the manager plus a workflow upload step, so swarm Playwright traces reach CI artifacts (was compose-only).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 17:01:09 +02:00
..

Local Purge Scripts

This directory holds the cleanup helpers under scripts/tests/deploy/local/purge/. For other local helpers, use ../README.md. For the canonical Make target index that invokes these helpers, see make.md.

Entry Points

Entry point What it does Key inputs Notes
entity.sh Purges one or more app entities inside the running container. apps, INFINITO_CONTAINER Used by the deployment cleanup helpers.
inventory.sh Removes the inventory directory in the running container. INFINITO_CONTAINER, INFINITO_INVENTORY_DIR Destructive cleanup.
web.sh Removes nginx config and self-signed CA state in the running container. INFINITO_CONTAINER Destructive cleanup.
lib.sh Removes the container lib state. INFINITO_CONTAINER Destructive cleanup.

Script Map