ЛР7 на 4: HTTPS, mTLS, OpenBao AppRole и ротация leaf.
Skeleton contracts / contracts (pull_request) Blocked by required conditions

Smoke/security/grade4/persistence/failover пройдены; REPORT и DEFENSE.
This commit is contained in:
2026-12-02 23:08:27 +03:00
parent 20afc2c790
commit 2f2047909f
182 changed files with 15169 additions and 90 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
set -eu
. "$(dirname "$0")/_lib.sh"
: "${TARGET_INSTANCE_ID:?test provides target API instance alias}"
service=$(docker inspect -f '{{index .Config.Labels "com.docker.compose.service"}}' "$TARGET_INSTANCE_ID" 2>/dev/null || true)
project=$(docker inspect -f '{{index .Config.Labels "com.docker.compose.project"}}' "$TARGET_INSTANCE_ID" 2>/dev/null || true)
[ "$service" = "api" ] || { echo "not an api container" >&2; exit 1; }
[ "$project" = "gavrilenko-lab7" ] || { echo "container is not from gavrilenko-lab7" >&2; exit 1; }
docker stop -t 5 "$TARGET_INSTANCE_ID" >/dev/null