forked from mtusi2026/mtusi2026lab7
Майорова Софья, БВТ2301, на 5. Трек1. HTTPS/TLS/ACL,18 API tests,13 pipeline groups,3 compromise runs,clean clone,persistence. Original tests/API contract preserved; residual CVE triage in REPORT/security.
11 lines
531 B
Bash
Executable File
11 lines
531 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
python3 scripts/snapshot.py > evidence/restart-before.json
|
|
docker compose stop api lb worker dispatcher
|
|
# Keep proxy namespace anchors: restarting the raw processes preserves the local boundary.
|
|
docker compose restart postgres broker-raw redis-raw s3-store s3-raw otel-collector-raw prometheus-raw loki-raw tempo-raw grafana bao
|
|
python3 scripts/bao_operator.py --unseal-only
|
|
docker compose up -d --no-deps api lb worker dispatcher
|
|
python3 scripts/snapshot.py > evidence/restart-after.json
|