File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ jobs:
249249 # 5) 헬스체크 (/actuator/health 200 OK까지 대기))
250250 # ---------------------------------------------------------
251251 echo "⏱ health-check: ${GREEN}"
252- TIMEOUT=120
252+ TIMEOUT=180 #
253253 INTERVAL=3
254254 ELAPSED=0
255255 sleep 8 # 초기 부팅 여유
@@ -260,7 +260,7 @@ jobs:
260260 sleep "${INTERVAL}"
261261 ELAPSED=$((ELAPSED + INTERVAL))
262262 done
263- [[ "${CODE:-000}" == "200" ]] || { echo "❌ ${GREEN} health failed"; docker logs --tail=200 "${GREEN}" || true; }
263+ [[ "${CODE:-000}" == "200" ]] || { echo "❌ ${GREEN} health failed"; docker logs --tail=200 "${GREEN}" || true; docker rm -f "${GREEN}" || true; exit 1; }
264264
265265 # ---------------------------------------------------------
266266 # 6) 업스트림 전환 (forward_host/forward_port만 업데이트)
You can’t perform that action at this time.
0 commit comments