Implement lab 3 level 4 failover and idempotency
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
hl_scripts_dir=$(CDPATH='' cd -- "$(dirname "$0")" && pwd)
|
||||
hl_repo_dir=$(dirname "$hl_scripts_dir")
|
||||
hl_venv_dir="$hl_repo_dir/.venv"
|
||||
"${PYTHON:-python3}" -m venv "$hl_venv_dir"
|
||||
"$hl_venv_dir/bin/python" -m pip install -r "$hl_repo_dir/requirements-dev.txt"
|
||||
"$hl_venv_dir/bin/python" -m pip check
|
||||
printf '%s\n' 'Test dependencies installed into .venv. Run .venv/bin/python student-tests/stack.py verify'
|
||||
Reference in New Issue
Block a user