From 06bfe9b2ba74d5d0b8e3783ada39a7fad6f57c7c Mon Sep 17 00:00:00 2001 From: Pier-Jean Malandrino Date: Wed, 8 Apr 2026 14:08:21 +0200 Subject: [PATCH] fix: use nginx port 3000 for CI health check and e2e tests The backend container only exposes port 8000 internally (expose, not ports). The health check and Karate tests must go through the nginx proxy on port 3000, the only port published to the host. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f4e5a2..6c35c08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,7 +106,7 @@ jobs: - name: Wait for health run: | for i in $(seq 1 30); do - if curl -sf http://localhost:8000/api/health > /dev/null 2>&1; then + if curl -sf http://localhost:3000/api/health > /dev/null 2>&1; then echo "Backend healthy" exit 0 fi @@ -123,7 +123,7 @@ jobs: if [[ "${{ github.base_ref }}" == release/* ]] || [[ "${{ github.ref }}" == refs/heads/release/* ]]; then KARATE_TAGS="@smoke,@regression,@e2e" fi - mvn test -f e2e/pom.xml -Dkarate.options="--tags ${KARATE_TAGS}" + mvn test -f e2e/pom.xml -DbaseUrl=http://localhost:3000 -Dkarate.options="--tags ${KARATE_TAGS}" - name: Upload Karate reports if: always()