From e330a754645f721ab39d4dac7073d94b15b472de Mon Sep 17 00:00:00 2001 From: selee1012 Date: Sat, 17 Oct 2026 17:40:11 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20prod=20=EC=8A=A4=EB=AA=A8=ED=81=AC=20?= =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=EA=B0=80=20=EA=B4=80=EB=A6=AC=20?= =?UTF-8?q?=ED=8F=AC=ED=8A=B8=EB=A1=9C=20=EC=98=AE=EA=B8=B4=20/actuator/he?= =?UTF-8?q?alth=20=EB=A5=BC=20=EB=B0=96=EC=97=90=EC=84=9C=20=EB=B6=80?= =?UTF-8?q?=EB=A5=B4=EC=A7=80=20=EC=95=8A=EB=8A=94=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 헬스체크를 관리 포트(8081)로 분리한 뒤(apply_prod_dau2.py) 이 경로는 ALB 밖에서 404 라 prod CD 가 배포는 성공해도 매번 failure 로 끝났다. 그 헬스체크는 ALB 대상 그룹이 보고, 앞 단계 rolloutState=COMPLETED 가 새 태스크 전부 통과했다는 뜻이다. /health/public 확인은 그대로. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/deploy-prod.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 3d0d6e7d..d1a785bf 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -119,10 +119,11 @@ jobs: exit 1 fi - # 기동 확인 — 헬스체크가 DB 연결까지 본다. 스키마 누락은 기동 단계(SchemaPresenceCheck)에서 이미 걸러진다. + # 기동 확인 — /actuator/health 는 관리 포트(8081)로 옮겨 ALB 밖에서는 404 다(2026-10-17 apply_prod_dau2.py). + # 그 헬스체크는 ALB 대상 그룹이 보고, 위 rolloutState=COMPLETED 가 새 태스크 전부 통과했다는 뜻이다. + # 스키마 누락은 기동 단계(SchemaPresenceCheck)에서 이미 걸러진다. - name: Smoke test run: | - curl -fsS --retry 5 --retry-delay 10 --retry-all-errors https://prod.ruleup.co.kr/actuator/health | tee /dev/stderr | grep -q '"status":"UP"' # 외부 점검(EDGE-01)·Route 53(NATIVE-01)이 보는 무인증 경로 — 사용자와 같은 길(Cloudflare 경유)로 고정 본문이 와야 한다. curl -fsS --retry 5 --retry-delay 10 --retry-all-errors -H 'Cache-Control: no-cache' https://prod.ruleup.co.kr/health/public | grep -qx 'ruleup-ok'