forked from mtusi2026/mtusi2026lab3
Лабораторная работа 3
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# Hook для make test-persistence: перезапускает API (все реплики), PostgreSQL,
|
||||
# Redis и LB, сохраняя volumes. Никаких down -v / flush / повторного seed.
|
||||
# Возвращает 0, когда API снова healthy; готовность LB тест ждёт сам.
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
PY=$(command -v python3 || command -v python)
|
||||
exec "$PY" scripts/ops.py restart
|
||||
Reference in New Issue
Block a user