From e49b01ddd4185bcf373651af41069b882ee3361e Mon Sep 17 00:00:00 2001 From: plf1996 Date: Thu, 18 Jun 2026 15:22:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20CI=20rollout=20=E8=B6=85=E6=97=B6=20120s?= =?UTF-8?q?=E2=86=92300s=20(backend=20startupProbe=20=E9=9C=80=E8=BE=83?= =?UTF-8?q?=E9=95=BF=E6=97=B6=E9=97=B4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9dc854c..bcefc47 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -65,8 +65,8 @@ jobs: k3s kubectl set image deployment/backend backend=registry.plfai.cn/graphrag-backend:${TAG} -n ${NS} k3s kubectl set image deployment/frontend frontend=registry.plfai.cn/graphrag-frontend:${TAG} -n ${NS} - k3s kubectl rollout status deployment/backend -n ${NS} --timeout=120s - k3s kubectl rollout status deployment/frontend -n ${NS} --timeout=60s + k3s kubectl rollout status deployment/backend -n ${NS} --timeout=300s + k3s kubectl rollout status deployment/frontend -n ${NS} --timeout=120s sleep 3 curl -sk --connect-timeout 10 --retry 3 https://test-graphrag.plfai.cn/api/v1/health | grep healthy @@ -80,8 +80,8 @@ jobs: k3s kubectl set image deployment/backend backend=registry.plfai.cn/graphrag-backend:${TAG} -n ${NS} k3s kubectl set image deployment/frontend frontend=registry.plfai.cn/graphrag-frontend:${TAG} -n ${NS} - k3s kubectl rollout status deployment/backend -n ${NS} --timeout=120s - k3s kubectl rollout status deployment/frontend -n ${NS} --timeout=60s + k3s kubectl rollout status deployment/backend -n ${NS} --timeout=300s + k3s kubectl rollout status deployment/frontend -n ${NS} --timeout=120s sleep 3 curl -sk --connect-timeout 10 --retry 3 https://graphrag.plfai.cn/api/v1/health | grep healthy