fix(ci): WS-хосты стенда и audit-тест в remote CT.
CI / test (push) Successful in 15m59s

ws.* / admin-ws.* в Traefik; audit IP на стенде — не unknown вместо XFF.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-16 12:15:42 +03:00
parent 50c6d671b8
commit 84a494e215
3 changed files with 21 additions and 10 deletions
+6 -4
View File
@@ -9,15 +9,15 @@ case "${STAND}" in
ift)
API_HOST="${API_HOST:-https://api.ift.eventhub.local}"
ADMIN_API_HOST="${ADMIN_API_HOST:-https://admin-api.ift.eventhub.local}"
WS_HOST="${WS_HOST:-wss://api.ift.eventhub.local}"
ADMIN_WS_HOST="${ADMIN_WS_HOST:-wss://admin-api.ift.eventhub.local}"
WS_HOST="${WS_HOST:-wss://ws.ift.eventhub.local}"
ADMIN_WS_HOST="${ADMIN_WS_HOST:-wss://admin-ws.ift.eventhub.local}"
DEVOPS_SMOKE="/opt/eventhub-ift/devops/scripts/smoke-core.sh"
;;
stage)
API_HOST="${API_HOST:-https://api.stage.eventhub.local}"
ADMIN_API_HOST="${ADMIN_API_HOST:-https://admin-api.stage.eventhub.local}"
WS_HOST="${WS_HOST:-wss://api.stage.eventhub.local}"
ADMIN_WS_HOST="${ADMIN_WS_HOST:-wss://admin-api.stage.eventhub.local}"
WS_HOST="${WS_HOST:-wss://ws.stage.eventhub.local}"
ADMIN_WS_HOST="${ADMIN_WS_HOST:-wss://admin-ws.stage.eventhub.local}"
DEVOPS_SMOKE="/opt/eventhub-stage/devops/scripts/smoke-core.sh"
;;
*)
@@ -41,6 +41,8 @@ fi
echo "=== API CT remote (${STAND}) ==="
echo " API_HOST=${API_HOST}"
echo " ADMIN_API_HOST=${ADMIN_API_HOST}"
echo " WS_HOST=${WS_HOST}"
echo " ADMIN_WS_HOST=${ADMIN_WS_HOST}"
if ! docker image inspect eventhub-api-tests:local >/dev/null 2>&1; then
bash scripts/retry-docker-build.sh 5 60 -- \