Files
mtusi2026lab2/evidence/persistence.txt
T
Quzzqq cbb92b7aef
Application / application (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
2 lab
2026-10-23 16:31:42 +03:00

6 lines
657 B
Plaintext

PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
Command, from a Linux container joined to the compose network, because Windows Python cannot execute scripts/restart.sh (WinError 193):
docker run --rm --network mtusilab2_lab -v /var/run/docker.sock:/var/run/docker.sock -v "$PWD:/work" -w /work alpine:3.24.1 sh -c "apk add --no-cache python3 docker-cli docker-cli-compose && chmod +x scripts/restart.sh && python3 tests/resilience.py --mode persistence --action-script scripts/restart.sh --base-url http://api:8080"
The hook restarts api, postgres and redis and does not remove volumes.
Date: 2026-10-23