fix: align deploy health checks with live endpoint
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
This commit is contained in:
@@ -14,8 +14,8 @@ SERVICE=$(echo "$QUERY_STRING" | sed -n 's/.*service=\([^&]*\).*/\1/p')
|
||||
|
||||
# 定義服務健康檢查 URL
|
||||
declare -A HEALTH_URLS=(
|
||||
["momo-uat"]="https://mo.wooo.work/health"
|
||||
["momo-gcp"]="https://momo.wooo.work/health"
|
||||
["momo-live"]="https://mo.wooo.work/health"
|
||||
["momo-prod"]="https://mo.wooo.work/health"
|
||||
["gitlab"]="http://127.0.0.1:8929/"
|
||||
["registry"]="http://127.0.0.1:5002/v2/"
|
||||
["n8n"]="http://127.0.0.1:5678/"
|
||||
|
||||
@@ -27,9 +27,9 @@ check_service() {
|
||||
echo '{"services": {'
|
||||
|
||||
# 核心服務
|
||||
check_service "momo-uat" "https://mo.wooo.work/health"
|
||||
check_service "momo-live" "https://mo.wooo.work/health"
|
||||
echo ","
|
||||
check_service "momo-gcp" "https://momo.wooo.work/health"
|
||||
check_service "momo-prod" "https://mo.wooo.work/health"
|
||||
echo ","
|
||||
|
||||
# 開發工具
|
||||
|
||||
Reference in New Issue
Block a user