This is an automated email from the ASF dual-hosted git repository.
lizhimins pushed a commit to branch rocketmq-studio
in repository https://gitbox.apache.org/repos/asf/rocketmq-dashboard.git
The following commit(s) were added to refs/heads/rocketmq-studio by this push:
new 5deb46341 fix(deploy): fail when the web health check never succeeds
(#6661)
5deb46341 is described below
commit 5deb46341acbf64687a075a47b6d7274c29ebf66
Author: 健康宝 <[email protected]>
AuthorDate: Thu Oct 15 18:17:42 2026 +0800
fix(deploy): fail when the web health check never succeeds (#6661)
---
deploy/deploy.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/deploy/deploy.sh b/deploy/deploy.sh
index 9f7d10038..b8367a268 100755
--- a/deploy/deploy.sh
+++ b/deploy/deploy.sh
@@ -147,7 +147,11 @@ verify() {
[[ "$code" == "200" ]] && break
sleep 5
done
- [[ "$code" == "200" ]] && log "前端响应正常 (HTTP $code)" || warn "前端返回 HTTP
$code"
+ # The backend branch above fails the deployment on an unhealthy server;
+ # a web tier that never answers must fail it too, otherwise the run ends
+ # with the success banner pointing at an entrance that returns 503.
+ [[ "$code" == "200" ]] && log "前端响应正常 (HTTP $code)" \
+ || err "前端健康检查未通过(HTTP ${code:-000},docker logs rocketmq-web 查看原因)"
fi
log "🎉 部署完成 → http://$REMOTE_HOST:$PUBLIC_PORT/"
}