База lab7: контракт 1.7.0 и реализация lab1–lab6

Перенесены cmd/internal/config, compose.yaml, Dockerfile, скрипты, student-tests и evidence из mtusi-messenger (master, lab6). Skeleton lab7 (openapi/infrastructure 1.7.0, trust-matrix.md, security/THREAT_MODEL.md, infra/openbao, tests/security.py) сохранён; make test-security добавлен в Makefile.
This commit is contained in:
Vladislav Kunetskiy
2026-11-09 13:03:49 +03:00
parent 20afc2c790
commit 3d216fbd50
479 changed files with 84512 additions and 50 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
OUT="$ROOT/evidence/cache"
GO="${GO:-go}"
cd "$ROOT"
mkdir -p "$OUT"
{
echo "# Cache consistency evidence (track 1)"
echo "# generated: $(date -u +%Y-%m-%dT%H:%M:%SZ)"
echo "# redis: ${TEST_REDIS_HOST:-localhost}:${TEST_REDIS_PORT:-6379} db=${TEST_REDIS_DB:-1}"
echo
"$GO" test -tags=integration -count=1 -v -timeout=5m \
-run 'TestChatRepositorySuite|TestSessionRepositorySuite' \
./internal/storage/redis/...
} | tee "$OUT/consistency.txt"
echo "wrote $OUT/consistency.txt"