Перенесите реализацию ЛР 4 на стенд ЛР 5

This commit is contained in:
2026-11-18 15:33:31 +03:00
parent 276dbdad8a
commit 911d97a77a
153 changed files with 17451 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
# Restart hook of `make test-persistence`: stops the whole stand gracefully and
# starts the same containers again; volumes are kept.
set -eu
cd "$(dirname "$0")/.."
docker compose stop
# Re-run one-shot jobs against the retained data before restoring replicas.
docker compose up -d --wait postgres valkey s3
docker compose run --rm migrate
docker compose run --rm s3-init
docker compose up -d --wait
sh scripts/wait-ready.sh