mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 02:54:26 +00:00
ubuntu-latest is rolling over to ubuntu-26.04, whose sudo is sudo-rs. It
ignores `-E` ("preserving the entire environment is not supported") and
hands the child only the explicit `env` assignments, so the swarm matrix
died at import with `KeyError: 'INFINITO_SRC_DIR'` before any inventory
existed (PR #1009, Nextcloud#0). Jobs that landed on ubuntu-24.04 kept
passing.
Every `sudo -E` now passes the caller's exported names through
`--preserve-env="$(compgen -e | paste -sd, -)"`, which both classic sudo
and sudo-rs honour. A lint rejects `sudo -E` and bare `--preserve-env`.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CI Deploy Scripts
This directory holds the executable CI deploy flows under scripts/tests/deploy/ci/.
For local deploy flows, use ../local/README.md.
Entry Points
| Script | What it does | Notes |
|---|---|---|
all.sh |
Runs one app across all selected distros, serially. | Uses dedicated.sh for the per-distro deploy loop. |
dedicated.sh |
Deploys one app on one distro twice against the same stack. | Performs the full CI cleanup after the run. |