chore: update
This commit is contained in:
@@ -49,12 +49,16 @@ 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
|
||||
|
||||
POSTGRES_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' postgres-it)
|
||||
REDIS_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' redis-it)
|
||||
|
||||
./scripts/gen-it.sh
|
||||
|
||||
./mvnw -B verify \
|
||||
-Dquarkus.container-image.push=false \
|
||||
-Dquarkus.test.container.network=${DOCKER_NET} \
|
||||
-Dquarkus.test.arg-line="-Dquarkus.datasource.jdbc.url=jdbc:postgresql://postgres-it:5432/postgres -Dquarkus.redis.hosts=redis://redis-it:6379"
|
||||
-Dquarkus.test.container.network=${DOCKER_NET}
|
||||
-Dquarkus.datasource.jdbc.url=jdbc:postgresql://${POSTGRES_IP}:5432/postgres \
|
||||
-Dquarkus.redis.hosts=redis://${REDIS_IP}:6379
|
||||
|
||||
- name: Clean up Docker containers
|
||||
if: always()
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
# Database
|
||||
quarkus.datasource.db-kind=postgresql
|
||||
quarkus.datasource.username=postgres
|
||||
quarkus.datasource.password=password
|
||||
quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/postgres
|
||||
|
||||
quarkus.hibernate-orm.database.generation=update
|
||||
|
||||
|
||||
Reference in New Issue
Block a user