Run sandbox checks before preparation
This commit is contained in:
parent
8de43e7c08
commit
549f1c1200
5
jeannie
5
jeannie
|
|
@ -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 ;;
|
||||
|
|
|
|||
Loading…
Reference in New Issue