Skip to content

Commit

Permalink
Declare DB images defaults in parent POM
Browse files Browse the repository at this point in the history
Prefix DB image names with docker.io registry hostname
We had some issues with Podman default config requiring a registry to be defined
  • Loading branch information
tsegismont authored and gsmet committed Jan 21, 2022
1 parent 350aecf commit 4fbc6ee
Show file tree
Hide file tree
Showing 28 changed files with 19 additions and 48 deletions.
7 changes: 7 additions & 0 deletions build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@
<opensearch.image>opensearchproject/opensearch:${opensearch-server.version}</opensearch.image>
<opensearch.protocol>http</opensearch.protocol>

<!-- Database images for JDBC/Reactive/Hibernate tests -->
<postgres.image>docker.io/postgres:14.1</postgres.image>
<mariadb.image>docker.io/mariadb:10.4</mariadb.image>
<db2.image>docker.io/ibmcom/db2:11.5.5.0</db2.image>
<mssql.image>mcr.microsoft.com/mssql/server:2019-CU8-ubuntu-16.04</mssql.image>
<oracle.image>docker.io/gvenzl/oracle-xe:21.3.0-slim</oracle.image>

<!-- Align various dependencies that are not really part of the bom-->
<junit4.version>4.13.2</junit4.version>

Expand Down
1 change: 0 additions & 1 deletion extensions/hibernate-reactive/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

<!-- Defaults, to simplify local testing -->
<properties>
<postgres.image>postgres:14.1</postgres.image>
<postgres.reactive.url>vertx-reactive:postgresql://localhost:5432/hibernate_orm_test</postgres.reactive.url>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<modelVersion>4.0.0</modelVersion>

<properties>
<postgres.image>postgres:14.1</postgres.image>
<postgres.reactive.url>vertx-reactive:postgresql://localhost:5432/hibernate_orm_test</postgres.reactive.url>
</properties>

Expand Down
3 changes: 1 addition & 2 deletions extensions/reactive-mssql-client/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<properties>
<reactive-mssql.url>vertx-reactive:sqlserver://localhost:1433</reactive-mssql.url>
<mssql.image>mcr.microsoft.com/mssql/server:2019-CU8-ubuntu-16.04</mssql.image>
</properties>

<dependencies>
Expand Down Expand Up @@ -156,7 +155,7 @@
</run>
</image>
</images>
<!--Stops all mcr.microsoft.com/mssql/server:2019-latest images currently running, not just those we just started.
<!--Stops all mcr.microsoft.com/mssql/server images currently running, not just those we just started.
Useful to stop processes still running from a previously failed integration test run -->
<allContainers>true</allContainers>
</configuration>
Expand Down
3 changes: 1 addition & 2 deletions extensions/reactive-mysql-client/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

<properties>
<reactive-mysql.url>vertx-reactive:mysql://localhost:3306/hibernate_orm_test</reactive-mysql.url>
<mariadb.image>mariadb:10.4</mariadb.image>
</properties>

<dependencies>
Expand Down Expand Up @@ -190,7 +189,7 @@
</run>
</image>
</images>
<!--Stops all mariadb:10.4 images currently running, not just those we just started.
<!--Stops all mariadb images currently running, not just those we just started.
Useful to stop processes still running from a previously failed integration test run -->
<allContainers>true</allContainers>
</configuration>
Expand Down
2 changes: 0 additions & 2 deletions extensions/reactive-oracle-client/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

<properties>
<reactive-oracledb.url>vertx-reactive:oracle:thin:@localhost:1521:XE</reactive-oracledb.url>
<!-- See https://hub.docker.com/r/gvenzl/oracle-xe -->
<oracle.image>gvenzl/oracle-xe:21.3.0-slim</oracle.image>
</properties>

<dependencies>
Expand Down
1 change: 0 additions & 1 deletion extensions/reactive-pg-client/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<name>Quarkus - Reactive PostgreSQL Client - Deployment</name>

<properties>
<postgres.image>postgres:14.1</postgres.image>
<reactive-postgres.url>vertx-reactive:postgresql:///hibernate_orm_test</reactive-postgres.url>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<properties>
<mariadb.base_url>jdbc:mariadb://localhost:3306</mariadb.base_url>
<mariadb.image>mariadb:10.4</mariadb.image>
</properties>

<dependencies>
Expand Down Expand Up @@ -231,7 +230,7 @@
</run>
</image>
</images>
<!--Stops all mariadb:10.4 images currently running, not just those
<!--Stops all mariadb images currently running, not just those
we just started. Useful to stop processes still running from a previously
failed integration test run -->
<allContainers>true</allContainers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<properties>
<mariadb.base_url>jdbc:mariadb://localhost:3306</mariadb.base_url>
<mariadb.image>mariadb:10.4</mariadb.image>
</properties>

<dependencies>
Expand Down Expand Up @@ -231,7 +230,7 @@
</run>
</image>
</images>
<!--Stops all mariadb:10.4 images currently running, not just those
<!--Stops all mariadb images currently running, not just those
we just started. Useful to stop processes still running from a previously
failed integration test run -->
<allContainers>true</allContainers>
Expand Down
3 changes: 1 addition & 2 deletions integration-tests/hibernate-orm-tenancy/datasource/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<properties>
<mariadb.base_url>jdbc:mariadb://localhost:3306</mariadb.base_url>
<mariadb.image>mariadb:10.4</mariadb.image>
</properties>

<dependencies>
Expand Down Expand Up @@ -251,7 +250,7 @@
</run>
</image>
</images>
<!--Stops all mariadb:10.4 images currently running, not just those
<!--Stops all mariadb images currently running, not just those
we just started. Useful to stop processes still running from a previously
failed integration test run -->
<allContainers>true</allContainers>
Expand Down
1 change: 0 additions & 1 deletion integration-tests/hibernate-reactive-db2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<description>Hibernate Reactive related tests running with the DB2 database</description>

<properties>
<db2.image>ibmcom/db2:11.5.5.0</db2.image>
<reactive-db2.url>vertx-reactive:db2://localhost:50000/hreact</reactive-db2.url>
</properties>
<dependencies>
Expand Down
3 changes: 1 addition & 2 deletions integration-tests/hibernate-reactive-mysql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

<properties>
<reactive-mysql.url>vertx-reactive:mysql://localhost:3306/hibernate_orm_test</reactive-mysql.url>
<mariadb.image>mariadb:10.4</mariadb.image>
</properties>

<dependencies>
Expand Down Expand Up @@ -208,7 +207,7 @@
</run>
</image>
</images>
<!--Stops all mariadb:10.4 images currently running, not just those we just started.
<!--Stops all mariadb images currently running, not just those we just started.
Useful to stop processes still running from a previously failed integration test run -->
<allContainers>true</allContainers>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<description>To test proper error reporting and safeguards when Panache Reactive is being used in combination with blocking technologies</description>

<properties>
<postgres.image>postgres:14.1</postgres.image>
<postgres.reactive.url>vertx-reactive:postgresql://localhost:5432/hibernate_orm_test</postgres.reactive.url>
</properties>

Expand Down
1 change: 0 additions & 1 deletion integration-tests/hibernate-reactive-panache/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
PanacheQuery.project(Class) needs it.
-->
<properties>
<postgres.image>postgres:14.1</postgres.image>
<postgres.reactive.url>vertx-reactive:postgresql://localhost:5432/hibernate_orm_test</postgres.reactive.url>
</properties>

Expand Down
1 change: 0 additions & 1 deletion integration-tests/hibernate-reactive-postgresql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<description>Hibernate Reactive related tests running with the PostgreSQL database</description>

<properties>
<postgres.image>postgres:14.1</postgres.image>
<postgres.reactive.url>vertx-reactive:postgresql://localhost:5432/hibernate_orm_test</postgres.reactive.url>
</properties>

Expand Down
1 change: 0 additions & 1 deletion integration-tests/jpa-db2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

<properties>
<jdbc-db2.url>jdbc:db2://localhost:50000/hreact</jdbc-db2.url>
<db2.image>ibmcom/db2:11.5.5.0</db2.image>
</properties>

<dependencies>
Expand Down
3 changes: 1 addition & 2 deletions integration-tests/jpa-mariadb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

<properties>
<mariadb.url>jdbc:mariadb://localhost:3306/hibernate_orm_test</mariadb.url>
<mariadb.image>mariadb:10.4</mariadb.image>
</properties>

<dependencies>
Expand Down Expand Up @@ -197,7 +196,7 @@
</run>
</image>
</images>
<!--Stops all mariadb:10.4 images currently running, not just those we just started.
<!--Stops all mariadb images currently running, not just those we just started.
Useful to stop processes still running from a previously failed integration test run -->
<allContainers>true</allContainers>
</configuration>
Expand Down
3 changes: 1 addition & 2 deletions integration-tests/jpa-mssql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<properties>
<mssqldb.url>jdbc:sqlserver://localhost:1433;databaseName=tempdb</mssqldb.url>
<mssqldb.sa-password>ActuallyRequired11Complexity</mssqldb.sa-password>
<mssqldb.image>mcr.microsoft.com/mssql/server:2019-CU8-ubuntu-16.04</mssqldb.image>
</properties>

<dependencies>
Expand Down Expand Up @@ -188,7 +187,7 @@
<configuration>
<images>
<image>
<name>${mssqldb.image}</name>
<name>${mssql.image}</name>
<alias>quarkus-test-mssqldb</alias>
<run>
<ports>
Expand Down
2 changes: 0 additions & 2 deletions integration-tests/jpa-oracle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

<properties>
<oracledb.url>jdbc:oracle:thin:@localhost:1521/XE</oracledb.url>
<!-- See https://hub.docker.com/r/gvenzl/oracle-xe -->
<oracle.image>gvenzl/oracle-xe:21.3.0-slim</oracle.image>
</properties>

<dependencies>
Expand Down
4 changes: 0 additions & 4 deletions integration-tests/jpa-postgresql-withxml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
<name>Quarkus - Integration Tests - JPA - PostgreSQL</name>
<description>Module that contains JPA related tests running with the PostgreSQL database</description>

<properties>
<postgres.image>postgres:14.1</postgres.image>
</properties>

<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
4 changes: 0 additions & 4 deletions integration-tests/jpa-postgresql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
<name>Quarkus - Integration Tests - JPA - PostgreSQL</name>
<description>Module that contains JPA related tests running with the PostgreSQL database</description>

<properties>
<postgres.image>postgres:14.1</postgres.image>
</properties>

<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
4 changes: 0 additions & 4 deletions integration-tests/kubernetes-service-binding-jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
<artifactId>quarkus-integration-test-k8s-service-binding-jdbc</artifactId>
<name>Quarkus - Integration Tests - Kubernetes Service Binding JDBC</name>

<properties>
<postgres.image>postgres:14.1</postgres.image>
</properties>

<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/main/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@
<configuration>
<images>
<image>
<name>postgres:14.1</name>
<name>${postgres.image}</name>
<alias>postgresql</alias>
<run>
<env>
Expand Down
1 change: 0 additions & 1 deletion integration-tests/reactive-db2-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<properties>
<reactive-db2.url>vertx-reactive:db2://localhost:50000/hreact</reactive-db2.url>
<db2.image>ibmcom/db2:11.5.5.0</db2.image>
</properties>

<dependencies>
Expand Down
3 changes: 1 addition & 2 deletions integration-tests/reactive-mssql-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<properties>
<reactive-mssql.url>vertx-reactive:sqlserver://localhost:1433</reactive-mssql.url>
<mssql.image>mcr.microsoft.com/mssql/server:2019-CU8-ubuntu-16.04</mssql.image>
</properties>

<dependencies>
Expand Down Expand Up @@ -186,7 +185,7 @@
</run>
</image>
</images>
<!--Stops all mcr.microsoft.com/mssql/server:2019-latest images currently running, not just those we just started.
<!--Stops all mcr.microsoft.com/mssql/server images currently running, not just those we just started.
Useful to stop processes still running from a previously failed integration test run -->
<allContainers>true</allContainers>
</configuration>
Expand Down
3 changes: 1 addition & 2 deletions integration-tests/reactive-mysql-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

<properties>
<reactive-mysql.url>vertx-reactive:mysql://localhost:3306/hibernate_orm_test</reactive-mysql.url>
<mariadb.image>mariadb:10.4</mariadb.image>
</properties>

<dependencies>
Expand Down Expand Up @@ -218,7 +217,7 @@
</run>
</image>
</images>
<!--Stops all mariadb:10.4 images currently running, not just those we just started.
<!--Stops all mariadb images currently running, not just those we just started.
Useful to stop processes still running from a previously failed integration test run -->
<allContainers>true</allContainers>
</configuration>
Expand Down
1 change: 0 additions & 1 deletion integration-tests/reactive-oracle-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<properties>
<reactive-oracledb.url>vertx-reactive:oracle:thin:@localhost:1521:XE</reactive-oracledb.url>
<oracle.image>gvenzl/oracle-xe:21.3.0-slim</oracle.image>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/reactive-pg-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
<configuration>
<images>
<image>
<name>postgres:14.1</name>
<name>${postgres.image}</name>
<alias>postgresql</alias>
<run>
<env>
Expand Down

0 comments on commit 4fbc6ee

Please sign in to comment.