This commit is contained in:
2026-10-02 10:03:35 +03:00
parent 920bdf9641
commit c25f19aa81
9 changed files with 95 additions and 83 deletions
+7
View File
@@ -12,6 +12,13 @@ PYTHON="${PYTHON:-python3}"
if [ -x .venv-wsl/bin/python3 ]; then PYTHON=.venv-wsl/bin/python3; fi
if [ -x .venv/bin/python3 ]; then PYTHON=.venv/bin/python3; fi
# Do not overwrite evidence/ with failures of a stand that is not running.
if ! curl -fsS --max-time 5 http://localhost:8080/health/ready >/dev/null 2>&1 || ! curl -fsS --max-time 5 http://localhost:8081/health/ready >/dev/null 2>&1; then
echo "API is not running. Start it first:" >&2
echo " docker compose --profile tests up -d --build api api_short_ttl" >&2
exit 1
fi
containers() {
docker compose ps -a --format '{{.Service}}\t{{.State}}\t{{.Status}}\t{{.CreatedAt}}'
}