From c36709f366422b9dc5d37156d42d6e2f78bea051 Mon Sep 17 00:00:00 2001 From: hectorzhao Date: Thu, 27 Aug 2026 20:43:36 +0800 Subject: [PATCH] fix: verify API readiness during S57 deploy --- infra/server-b/s57/deploy-ui-number-library.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/server-b/s57/deploy-ui-number-library.sh b/infra/server-b/s57/deploy-ui-number-library.sh index 22a016f..fa43aea 100644 --- a/infra/server-b/s57/deploy-ui-number-library.sh +++ b/infra/server-b/s57/deploy-ui-number-library.sh @@ -62,7 +62,7 @@ echo "phase=verify" test "$(readlink -f /opt/lisglosips/current)" = "$new" test "$(cat /opt/lisglosips/current/.deployed-commit)" = "$commit" test "$(systemctl is-active lisglosips@api)" = active -curl --fail --silent --show-error http://127.0.0.1:3000/api/v2/health >/dev/null +curl --fail --silent --show-error http://127.0.0.1:3000/api/v2/health/ready >/dev/null curl --fail --silent --show-error -H 'content-type: application/json' \ --data '{"jsonrpc":"2.0","id":1,"method":"dlg_list","params":[]}' \ http://127.0.0.1:8888/mi >/dev/null