From ca71be14c510a3dc1fdf4ccfcdc3b186faa0c3da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hartmut=20N=C3=B6renberg?= Date: Mon, 13 Apr 2026 00:31:11 +0200 Subject: [PATCH] ci(e2e): provide dummy PGADMIN_PASSWORD for test-server compose test-server.mjs spawns 'docker compose --profile test up postgres-test' but compose validates env interpolation across ALL services before filtering by profile. The unused pgadmin service's PGADMIN_PASSWORD:? check fires and aborts the call. Set a dummy value in the job env. --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a97ce6..b5774b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -317,6 +317,12 @@ jobs: CONFIRM_DESTRUCTIVE_DB_NAME: capakraken_test REDIS_URL: redis://e2eredis:6379 PORT: 3100 + # test-server.mjs spawns `docker compose --profile test up postgres-test`; + # docker compose validates env interpolation in ALL services before + # applying the profile filter, so the unused pgadmin service's + # ${PGADMIN_PASSWORD:?} check fires and aborts the compose call. + # Provide a dummy value so parsing succeeds — pgadmin is never started. + PGADMIN_PASSWORD: ci-unused NEXTAUTH_URL: ${{ env.CI_AUTH_URL }} AUTH_URL: ${{ env.CI_AUTH_URL }} NEXTAUTH_SECRET: ${{ env.CI_AUTH_SECRET }}