From b20e80ac5ecc1bf96ee7344276d71fe44216f4e0 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 08:30:35 +0100 Subject: [PATCH] fix(pipeline): Use non-conflicted port for testcontainers testing --- .gitea/workflows/pipeline.yaml | 4 +++- legalconsenthub-backend/README.md | 2 +- legalconsenthub/README.md | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index d02c748..adf3daa 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -128,6 +128,8 @@ jobs: POSTGRES_DB: legalconsenthub_test POSTGRES_USER: test POSTGRES_PASSWORD: test + ports: + - 5433:5432 options: >- --health-cmd "pg_isready -U test" --health-interval 10s @@ -171,7 +173,7 @@ jobs: - name: Run tests run: ./gradlew test env: - SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/legalconsenthub_test + SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5433/legalconsenthub_test SPRING_DATASOURCE_USERNAME: test SPRING_DATASOURCE_PASSWORD: test SPRING_JPA_HIBERNATE_DDL_AUTO: create-drop diff --git a/legalconsenthub-backend/README.md b/legalconsenthub-backend/README.md index 507bd93..e230f75 100644 --- a/legalconsenthub-backend/README.md +++ b/legalconsenthub-backend/README.md @@ -2,4 +2,4 @@ ## Pipeline Triggering -Trigger count: 7 +Trigger count: 8 diff --git a/legalconsenthub/README.md b/legalconsenthub/README.md index 02125e4..8c9e2b7 100644 --- a/legalconsenthub/README.md +++ b/legalconsenthub/README.md @@ -2,4 +2,4 @@ ## Pipeline Triggering -Trigger count: 7 +Trigger count: 8