Реализовать лабораторную работу 3
This commit is contained in:
Executable
+19
@@ -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
|
||||
Reference in New Issue
Block a user