chore: update

This commit is contained in:
TakahashiNg
2026-04-15 09:21:07 +00:00
parent 9da798c0d1
commit b1b93773f5
2 changed files with 6 additions and 5 deletions
+6 -2
View File
@@ -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