M16: isolate acceptance and harden readiness

This commit is contained in:
NuklearRabbit
2026-08-10 12:08:42 +02:00
parent 2ee8b2d82b
commit 686795a452
13 changed files with 200 additions and 41 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
set -eu
project="mobilityops-test"
compose_files="-f compose.yaml -f compose.test.yaml"
cleanup() {
docker compose -p "$project" $compose_files down -v --remove-orphans
}
trap cleanup EXIT INT TERM
cleanup
docker compose -p "$project" $compose_files run --build --rm api pytest "$@"