fix(pipeline): Use non-conflicted port for testcontainers testing

This commit is contained in:
2025-11-20 08:30:35 +01:00
parent 09933e07b0
commit b20e80ac5e
3 changed files with 5 additions and 3 deletions

View File

@@ -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

View File

@@ -2,4 +2,4 @@
## Pipeline Triggering
Trigger count: 7
Trigger count: 8

View File

@@ -2,4 +2,4 @@
## Pipeline Triggering
Trigger count: 7
Trigger count: 8