From 0339d5f1921f6201978f44d2d1bc38c6954c2000 Mon Sep 17 00:00:00 2001 From: gmunozfe Date: Wed, 15 Jan 2025 01:59:11 +0100 Subject: [PATCH] [Fixes_kie_issues_1749] Switch dockerhub to a mirrored registry --- .../kogito-build-no-bom-parent/pom.xml | 19 +++++++++++++------ .../KogitoPostgreSqlContainer.java | 5 ++++- .../src/test/resources/application.properties | 4 +++- .../src/main/resources/application.properties | 3 ++- .../src/main/resources/application.properties | 3 ++- .../src/main/resources/application.properties | 3 ++- 6 files changed, 26 insertions(+), 11 deletions(-) diff --git a/kogito-build/kogito-build-no-bom-parent/pom.xml b/kogito-build/kogito-build-no-bom-parent/pom.xml index 2795ef00b81..35cda8c3456 100644 --- a/kogito-build/kogito-build-no-bom-parent/pom.xml +++ b/kogito-build/kogito-build-no-bom-parent/pom.xml @@ -48,13 +48,13 @@ true - infinispan/server:${version.org.infinispan} + mirror.gcr.io/infinispan/server:${version.org.infinispan} quay.io/keycloak/keycloak:${version.org.keycloak} - redpandadata/redpanda:v24.3.1 - wurstmeister/kafka:${version.wurstmeister.kafka} - library/mongo:${version.org.mongo-image} - redislabs/redisearch:${version.org.redis} - postgres:${version.org.postgres} + mirror.gcr.io/redpandadata/redpanda:v24.3.1 + mirror.gcr.io/wurstmeister/kafka:${version.wurstmeister.kafka} + mirror.gcr.io/library/mongo:${version.org.mongo-image} + mirror.gcr.io/redislabs/redisearch:${version.org.redis} + mirror.gcr.io/postgres:${version.org.postgres} 17 17 @@ -114,6 +114,7 @@ 3.1.2 3.1.2 2.4 + 0.7.0 2.5 @@ -330,6 +331,9 @@ ${session.request.localRepositoryPath.path} ${session.request.userSettingsFile.path} + + mirror.gcr.io/testcontainers/ryuk:${version.testcontainers.ryuk} + all @@ -354,6 +358,9 @@ ${session.request.userSettingsFile.path} 1800 + + mirror.gcr.io/testcontainers/ryuk:${version.testcontainers.ryuk} + all diff --git a/kogito-test-utils/src/main/java/org/kie/kogito/testcontainers/KogitoPostgreSqlContainer.java b/kogito-test-utils/src/main/java/org/kie/kogito/testcontainers/KogitoPostgreSqlContainer.java index b631bf23c72..bb066afb233 100644 --- a/kogito-test-utils/src/main/java/org/kie/kogito/testcontainers/KogitoPostgreSqlContainer.java +++ b/kogito-test-utils/src/main/java/org/kie/kogito/testcontainers/KogitoPostgreSqlContainer.java @@ -29,6 +29,9 @@ import org.testcontainers.containers.output.Slf4jLogConsumer; import org.testcontainers.containers.wait.strategy.HostPortWaitStrategy; import org.testcontainers.containers.wait.strategy.WaitAllStrategy; +import org.testcontainers.utility.DockerImageName; + +import static org.kie.kogito.testcontainers.KogitoGenericContainer.getImageName; /** * PostgreSQL Container for Kogito examples. @@ -40,7 +43,7 @@ public class KogitoPostgreSqlContainer extends PostgreSQLContainer