mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 04:36:40 +00:00
Catches refactor drift across `.sh`, `Makefile` recursive calls, and GitHub workflows. Includes fixes for the 5 bugs the new test surfaced on first run: `make -C ROOT down`/`up` in the network stack refresh helper (missed during the compose-* rename) and four `make compose-deploymode=…` / `compose-deployapps=…` typos in 07/08/09_deploy_*.sh plus three docstring/echo references (missing space after `compose-deploy`, introduced by the deploy → compose-deploy sed-rename).
12 lines
465 B
Bash
Executable File
12 lines
465 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Redeploy keeping inventory and apt packages — validates reuse of existing state.
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
# shellcheck source=scripts/tests/environment/utils/common.sh
|
|
source "${SCRIPT_DIR}/utils/common.sh"
|
|
|
|
echo "Redeploying matomo (variant 1) while keeping inventory and packages to validate state reuse."
|
|
make compose-deploy mode=update apps="${MATOMO_APP}" INFINITO_VARIANT=1
|
|
inspect
|