From 242618e807d5b53592c5d22a90ab46f8d77253bb Mon Sep 17 00:00:00 2001 From: bsodfather Date: Fri, 31 Jul 2026 03:51:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C:=20=D0=B4=D0=BE=D0=B6=D0=B4=D0=B0=D1=82=D1=8C?= =?UTF-8?q?=D1=81=D1=8F=20=D0=BE=D0=BF=D1=83=D0=B1=D0=BB=D0=B8=D0=BA=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=BF=D0=BE=D1=80?= =?UTF-8?q?=D1=82=D0=B0=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2948444..cc274e6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -239,7 +239,17 @@ jobs: --env-file .tmp/community-smoke.env --profile local-db up -d --wait ui_address="$(docker compose -f deploy/community/docker-compose.images.yml \ --env-file .tmp/community-smoke.env port ui 3000)" - printf 'http://%s\n' "$ui_address" > .tmp/community-smoke.url + ui_url="http://${ui_address}" + printf '%s\n' "$ui_url" > .tmp/community-smoke.url + for attempt in $(seq 1 30); do + if curl --fail --silent --show-error --output /dev/null "$ui_url/"; then + exit 0 + fi + echo "Community UI is not reachable through the published port ($attempt/30)" + sleep 1 + done + echo "Community UI did not become reachable at $ui_url" >&2 + exit 1 - name: Run authenticated Community image smoke env: