Собрать стенд из API, PostgreSQL и Valkey с хуком перезапуска
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
# Restart hook of `make test-persistence` (tests/resilience.py): stops the
|
||||
# API, PostgreSQL and Valkey gracefully and starts the same containers again.
|
||||
# Volumes and data are kept and nothing is re-seeded. The test hides the
|
||||
# output, so failures surface through the exit code only.
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
docker compose stop
|
||||
docker compose up -d --wait
|
||||
Reference in New Issue
Block a user