Run sandbox checks before preparation
Homelab Main / validate (push) Waiting to run Details
Homelab Main / running-update (push) Blocked by required conditions Details
Homelab Main / debian-ops (push) Blocked by required conditions Details

This commit is contained in:
juvenal.diaz 2026-11-06 21:54:18 -06:00
parent 8de43e7c08
commit 549f1c1200
1 changed files with 5 additions and 0 deletions

View File

@ -795,6 +795,11 @@ case "${1:-}" in
plan) python3 "${REPO_ROOT}/scripts/network-sandbox-plan.py" ;;
prepare)
record_change_journal "network-sandbox" "$@"
echo "Checking sandbox configuration and host preparation logic..."
python3 -m unittest discover -s "${REPO_ROOT}/tests/jeannie" \
-p 'test_network_sandbox_config.py' || exit 1
python3 -m unittest discover -s "${REPO_ROOT}/tests/jeannie" \
-p 'test_network_sandbox_host.py' || exit 1
python3 "${REPO_ROOT}/scripts/network-sandbox-prepare.py"
;;
*) echo "Usage: ./jeannie network-sandbox {plan|prepare}" >&2; exit 2 ;;