From df5bbb162a9b1a2a35c05c9c9a06a1f7de6aaf47 Mon Sep 17 00:00:00 2001 From: Rinjae Date: Tue, 16 Jun 2026 15:56:46 +0900 Subject: [PATCH] =?UTF-8?q?ci=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/eapim-admin-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/eapim-admin-ci.yml b/.gitea/workflows/eapim-admin-ci.yml index 08d0152..eba94c0 100644 --- a/.gitea/workflows/eapim-admin-ci.yml +++ b/.gitea/workflows/eapim-admin-ci.yml @@ -89,7 +89,7 @@ jobs: cp eapim-admin/build/libs/eapim-admin.war "$DEPLOY_DIR/monitoring.war" ls -la "$DEPLOY_DIR" - - name: Start tomcat and readiness probe (timeout 120s) + - name: Start tomcat and readiness probe (timeout 180s) working-directory: ${{ github.workspace }} run: | LOG="$CATALINA_BASE/logs/catalina.$(date +%Y-%m-%d).log" @@ -99,7 +99,7 @@ jobs: # systemd 가 Tomcat 을 새 cgroup 으로 띄움 — runner step 종료와 무관하게 살아남음 systemctl --user start eapim-admin - DEADLINE=$(($(date +%s) + 120)) + DEADLINE=$(($(date +%s) + 180)) STATUS=000 while [ $(date +%s) -lt $DEADLINE ]; do STATUS=$(curl -sS -o /dev/null -w '%{http_code}' --max-time 3 \ @@ -122,7 +122,7 @@ jobs: case "$STATUS" in 200|302|401) ;; *) - echo "::error::Readiness probe failed within 120s (last HTTP status: $STATUS)" + echo "::error::Readiness probe failed within 180s (last HTTP status: $STATUS)" [ -f "$LOG" ] && tail -c +$((BEFORE+1)) "$LOG" | tail -100 exit 1 ;;