This commit is contained in:
@@ -50,12 +50,15 @@ jobs:
|
|||||||
docker run -d --name postgres-it --network ${DOCKER_NET} -e POSTGRES_PASSWORD=password postgres || true
|
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
|
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
|
./scripts/gen-it.sh
|
||||||
|
|
||||||
./mvnw -B verify \
|
./mvnw -B verify \
|
||||||
-Dquarkus.container-image.push=false \
|
-Dquarkus.container-image.push=false \
|
||||||
-Dquarkus.test.container.network=${DOCKER_NET} \
|
-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
|
-Dquarkus.redis.hosts=redis://redis-it:6379
|
||||||
|
|
||||||
- name: Clean up Docker containers
|
- name: Clean up Docker containers
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
quarkus.datasource.db-kind=postgresql
|
quarkus.datasource.db-kind=postgresql
|
||||||
quarkus.datasource.username=postgres
|
quarkus.datasource.username=postgres
|
||||||
quarkus.datasource.password=password
|
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
|
quarkus.hibernate-orm.database.generation=update
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user