ЛР7 на 4: HTTPS, mTLS, OpenBao AppRole и ротация leaf.
Skeleton contracts / contracts (pull_request) Blocked by required conditions
Skeleton contracts / contracts (pull_request) Blocked by required conditions
Smoke/security/grade4/persistence/failover пройдены; REPORT и DEFENSE.
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
# Перезапуск API×N, worker, LB и всех используемых хранилищ (volumes сохраняются).
|
||||
set -eu
|
||||
. "$(dirname "$0")/_lib.sh"
|
||||
|
||||
$COMPOSE stop lb worker api
|
||||
$COMPOSE restart postgres redis rabbitmq s3
|
||||
$COMPOSE up -d --wait postgres redis rabbitmq s3
|
||||
warm_s3
|
||||
|
||||
$COMPOSE up -d --scale "api=${API_REPLICAS}" --no-deps --force-recreate api
|
||||
$COMPOSE up -d --no-deps --force-recreate worker
|
||||
$COMPOSE up -d --no-deps lb
|
||||
|
||||
wait_lb_ready 90
|
||||
# Дополнительная стабилизация S3/API перед выходом hook (публичный клиент — timeout 2s).
|
||||
sleep 3
|
||||
wait_lb_ready 30
|
||||
Reference in New Issue
Block a user