Реализовать лабораторную работу 3

This commit is contained in:
Никита
2026-11-02 18:55:53 +03:00
parent 0ab3a341aa
commit d2ff198781
109 changed files with 25218 additions and 27 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
mkdir -p evidence
exec 3>&1
exec > evidence/checks.txt 2>&1
date -u '+Verified: %Y-%m-%d %H:%M:%S UTC'
for target in build check validate test student-test test-auth test-ui test-persistence restore-api test-failover restore-api test-idempotency-modes test-expiry test-grade4 research-grade5 test student-test test-ui; do
printf '\n$ make %s\n' "$target"
printf 'Running: %s\n' "$target" >&3
./scripts/compose.sh ps --all
if ! make "$target" BASE_URL="${BASE_URL:-http://127.0.0.1:18080}"; then
tail -n 35 evidence/checks.txt >&3
exit 1
fi
done
git diff --exit-code -- contracts tests README.md COURSE.md
printf '\nPASS: Lab3 checks completed\n'
printf 'PASS: evidence/checks.txt\n' >&3