forked from mtusi2026/mtusi2026lab7
34 lines
1.6 KiB
Bash
Executable File
34 lines
1.6 KiB
Bash
Executable File
#!/bin/sh
|
|
# State-changing scenarios are deliberately sequential, on synthetic lab7 data.
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
make check validate PYTHON=.venv/bin/python > evidence/contracts.txt
|
|
make build vet test-go > evidence/go-checks.txt
|
|
make test test-security > evidence/public-checks.txt
|
|
python3 scripts/security.py > evidence/security-run.txt
|
|
python3 scripts/prove-auth.py > evidence/auth-run.txt
|
|
python3 scripts/prove-leaf.py > evidence/leaf-run.txt
|
|
python3 scripts/prove-sealed.py > evidence/sealed-run.txt
|
|
python3 scripts/prove-telemetry.py > evidence/telemetry-run.txt
|
|
python3 scripts/prove-admin.py > evidence/admin-run.txt
|
|
python3 scripts/prove-cert-expiry.py > evidence/cert-expiry-run.txt
|
|
python3 student-tests/images.py > evidence/images-run.txt
|
|
python3 student-tests/storage.py > evidence/storage-run.txt
|
|
python3 student-tests/broker_persistence.py > evidence/broker-run.txt
|
|
make test-persistence ACTION_SCRIPT=scripts/restart.sh > evidence/persistence-run.txt
|
|
make test-failover ACTION_SCRIPT=scripts/stop-one.sh > evidence/failover-first.txt
|
|
./scripts/compose.sh up -d api
|
|
python3 scripts/wait-ready.py
|
|
make test-failover ACTION_SCRIPT=scripts/stop-one.sh > evidence/failover-second.txt
|
|
./scripts/compose.sh up -d api
|
|
python3 scripts/wait-ready.py
|
|
python3 scripts/prove-all-replicas.py > evidence/all-replicas-run.txt
|
|
python3 scripts/experiment-worker.py > evidence/worker-experiment-run.txt
|
|
make test > evidence/final-smoke.txt
|
|
python3 scripts/capture-environment.py
|
|
python3 scripts/prove-clean-clone.py > evidence/clean-clone-run.txt
|
|
python3 scripts/scan-images.py
|
|
make scan-dependencies
|
|
python3 scripts/audit-secrets.py
|
|
python3 scripts/summarize-evidence.py
|