исправить: дождаться опубликованного порта UI
CI / Rust Checks (pull_request) Successful in 5m56s
CI / UI Checks (pull_request) Successful in 5s
CI / Community Image Smoke (pull_request) Failing after 1m32s
CI / Frontend E2E (pull_request) Successful in 3m47s
CI / Deploy (pull_request) Has been skipped

This commit is contained in:
2026-07-31 03:51:09 +03:00
parent 511c26ea18
commit 242618e807
+11 -1
View File
@@ -239,7 +239,17 @@ jobs:
--env-file .tmp/community-smoke.env --profile local-db up -d --wait --env-file .tmp/community-smoke.env --profile local-db up -d --wait
ui_address="$(docker compose -f deploy/community/docker-compose.images.yml \ ui_address="$(docker compose -f deploy/community/docker-compose.images.yml \
--env-file .tmp/community-smoke.env port ui 3000)" --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 - name: Run authenticated Community image smoke
env: env: