From 08aeac21757a31dcd542ade7b4ffde1d83377164 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 8 Nov 2026 11:10:43 +0000 Subject: [PATCH 1/2] Initial plan From 731ac791097f1cdf57095f065392b8dbe447b003 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 8 Nov 2026 11:12:53 +0000 Subject: [PATCH 2/2] Wait for services before Newman integration tests Co-authored-by: piyushroshan <1090436+piyushroshan@users.noreply.github.com> --- .github/workflows/pr-build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index ecc733b89..a8b39081d 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -167,7 +167,13 @@ jobs: - name: Run crAPI using built images run: | cd deploy/docker - VERSION=${{ env.TAG_NAME }} docker compose -f docker-compose.yml --compatibility up -d + VERSION=${{ env.TAG_NAME }} docker compose -f docker-compose.yml --compatibility up -d --wait --wait-timeout 300 + + - name: Wait for crAPI gateway to be ready + run: | + curl --retry 60 --retry-connrefused --retry-delay 5 --retry-max-time 300 \ + --connect-timeout 5 --max-time 10 --silent --show-error --output /dev/null \ + http://127.0.0.1:30080/health - name: Install Node uses: actions/setup-node@v3