Files
computer-playbook/scripts/tests/environment/09_deploy_reuse.sh
T
kevinveenbirkenbach 664457b739 test(lint): verify every make <target> reference resolves
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).
2026-05-21 22:58:27 +02:00

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