From 76a6c318f3dc678983b79658b6c09bf1d7be6388 Mon Sep 17 00:00:00 2001 From: woojong Date: Wed, 23 Oct 2024 17:34:53 +0900 Subject: [PATCH] Modify/#398 infra zero down time (#401) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: 서브모듈 커밋 시점 변경 * docs: 액츄에이터 의존성 추가 * infra: 무중단 배포를 위한 cd 스크립트 변경 * infra: 테스트와 빌드 하나로 통합 * infra: 스크립트 수정 * infra: 스크립트 수정 --- .github/workflows/Backend-CD-Prod-A.yml | 2 +- .github/workflows/Backend-CD-Prod-B.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Backend-CD-Prod-A.yml b/.github/workflows/Backend-CD-Prod-A.yml index 70876c92..90471367 100644 --- a/.github/workflows/Backend-CD-Prod-A.yml +++ b/.github/workflows/Backend-CD-Prod-A.yml @@ -40,7 +40,7 @@ jobs: - name: Check service availability run: | - HTTP_STATUS=$(curl -o /dev/null -s -w "%{http_code}" http://localhost:8080/actuator/health) + HTTP_STATUS=$(curl -o /dev/null -s -w "%{http_code}" http://localhost:80/actuator/health) if [ "$HTTP_STATUS" -eq 200 ]; then echo "Service is up and running" else diff --git a/.github/workflows/Backend-CD-Prod-B.yml b/.github/workflows/Backend-CD-Prod-B.yml index aa693e52..e804d04a 100644 --- a/.github/workflows/Backend-CD-Prod-B.yml +++ b/.github/workflows/Backend-CD-Prod-B.yml @@ -40,7 +40,8 @@ jobs: - name: Check service availability run: | - HTTP_STATUS=$(curl -o /dev/null -s -w "%{http_code}" http://localhost:8080/actuator/health) + HTTP_STATUS=$(curl -o /dev/null -s -w "%{http_code}" http://localhost:80/actuator/health) + if [ "$HTTP_STATUS" -eq 200 ]; then echo "Service is up and running" else