diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 2267c14..25de171 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -50,12 +50,15 @@ jobs: docker run -d --name postgres-it --network ${DOCKER_NET} -e POSTGRES_PASSWORD=password postgres || true docker run -d --name redis-it --network ${DOCKER_NET} redis || true + RUNNER_ID=$(hostname) + docker network connect ${DOCKER_NET} ${RUNNER_ID} || true + ./scripts/gen-it.sh ./mvnw -B verify \ -Dquarkus.container-image.push=false \ -Dquarkus.test.container.network=${DOCKER_NET} \ - -Dquarkus.datasource.jdbc.url=jdbc:postgres://postgres-it:5432/postgres \ + -Dquarkus.datasource.jdbc.url=jdbc:postgresql://postgres-it:5432/postgres \ -Dquarkus.redis.hosts=redis://redis-it:6379 - name: Clean up Docker containers diff --git a/account-service/src/main/resources/application.properties b/account-service/src/main/resources/application.properties index 96279f9..3964779 100644 --- a/account-service/src/main/resources/application.properties +++ b/account-service/src/main/resources/application.properties @@ -2,7 +2,7 @@ quarkus.datasource.db-kind=postgresql quarkus.datasource.username=postgres quarkus.datasource.password=password -quarkus.datasource.jdbc.url=jdbc:postgres://localhost:5432/postgres +quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/postgres quarkus.hibernate-orm.database.generation=update