fix(deploy): isolate compose smoke resources

This commit is contained in:
2026-07-11 22:16:51 +02:00
parent 767df63a33
commit 0ca6346f75
3 changed files with 56 additions and 12 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
script=scripts/docker-smoke.sh
sh -n "$script"
grep -q 'SMOKE_PROJECT' "$script"
grep -q -- '--project-name' "$script"
grep -q 'KEEP_SMOKE_RESOURCES' "$script"
grep -q 'down --volumes' "$script"
if grep -q -- 'down --remove-orphans' "$script"; then
echo "smoke cleanup must not remove operator orphans" >&2
exit 1
fi
echo "docker-smoke isolation contract passed."