mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 12:47:04 +00:00
The swarm e2e now iterates one provision+deploy+e2e round per app variant, mirroring the compose matrix deploy, so the keycloak TOTP env-gate is no longer needed: the variant's services.keycloak.realm.totp_enabled=false is baked into host_vars per round and resolves at deploy time in swarm too. New cli/administration/deploy/swarm/matrix.py drives the rounds by reusing the compose planner (plan_dev_inventory_matrix, _resolve_variant_payloads, _bake_overrides): per round it provisions with the baked --vars overlay plus --app-variants, extends the swarm topology, deploys (e2e in-deploy), waits for convergence, and purges prior-round stacks between rounds via the new purge_stacks.sh. The workflow collapses its per-step provision/deploy/verify into one orchestrator step; chaos (seed/drain/assert) still runs once. - cli/administration/deploy/swarm/matrix.py: NEW round orchestrator - scripts/tests/deploy/swarm/purge_stacks.sh: NEW per-round swarm purge - scripts/tests/deploy/swarm/05_provision_inventory.sh: per-round inv dir plus conditional --vars / --app-variants (standalone path unchanged) - .github/workflows/test-deploy-swarm.yml: single orchestrator step, timeout 360 - default.env, utils/env/handlers/passthrough.py: register INFINITO_VARS_PAYLOAD plus INFINITO_APP_VARIANTS passthrough keys - roles/web-app-keycloak/vars/main.yml: drop the ENVIRONMENT env-gate Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Administration 🛠️
Operator-facing tooling for provisioning inventories, running dedicated deploys, and managing host secrets across an Infinito.Nexus environment.