From e4c9b3e9c447bd323b8a46f5cb50da377c35bde0 Mon Sep 17 00:00:00 2001 From: Toshiya Kobayashi Date: Thu, 12 Dec 2024 16:01:48 +0900 Subject: [PATCH] [incubator-kie-issues-1682] Test cases in kogito repos GHA fail with "pull access denied for vectorized/redpanda" --- .../src/test/resources/application.properties | 4 +++- .../src/test/resources/application.properties | 4 +++- .../src/test/resources/application.properties | 21 +++++++++++++++++++ kogito-apps-build-parent/pom.xml | 1 + .../src/test/resources/application.properties | 4 +++- 5 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 jobs-service/jobs-service-messaging-kafka/src/test/resources/application.properties diff --git a/data-index/data-index-service/data-index-service-infinispan/src/test/resources/application.properties b/data-index/data-index-service/data-index-service-infinispan/src/test/resources/application.properties index 8f8a8ae113..d59fe076d4 100644 --- a/data-index/data-index-service/data-index-service-infinispan/src/test/resources/application.properties +++ b/data-index/data-index-service/data-index-service-infinispan/src/test/resources/application.properties @@ -53,4 +53,6 @@ kogito.data-index.vertx-graphql.ui.path=/graphiql kogito.data-index.vertx-graphql.ui.tenant=web-app-tenant # Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource -quarkus.keycloak.devservices.enabled=false \ No newline at end of file +quarkus.keycloak.devservices.enabled=false + +quarkus.kafka.devservices.image-name=${container.image.kafka} \ No newline at end of file diff --git a/data-index/data-index-service/data-index-service-mongodb/src/test/resources/application.properties b/data-index/data-index-service/data-index-service-mongodb/src/test/resources/application.properties index 68347c230c..8cabb28210 100644 --- a/data-index/data-index-service/data-index-service-mongodb/src/test/resources/application.properties +++ b/data-index/data-index-service/data-index-service-mongodb/src/test/resources/application.properties @@ -61,4 +61,6 @@ kogito.data-index.vertx-graphql.ui.path=/graphiql kogito.data-index.vertx-graphql.ui.tenant=web-app-tenant # Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource -quarkus.keycloak.devservices.enabled=false \ No newline at end of file +quarkus.keycloak.devservices.enabled=false + +quarkus.kafka.devservices.image-name=${container.image.kafka} \ No newline at end of file diff --git a/jobs-service/jobs-service-messaging-kafka/src/test/resources/application.properties b/jobs-service/jobs-service-messaging-kafka/src/test/resources/application.properties new file mode 100644 index 0000000000..baef842c36 --- /dev/null +++ b/jobs-service/jobs-service-messaging-kafka/src/test/resources/application.properties @@ -0,0 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +quarkus.kafka.devservices.image-name=${container.image.kafka} + diff --git a/kogito-apps-build-parent/pom.xml b/kogito-apps-build-parent/pom.xml index 72c89cabf6..daec939b27 100644 --- a/kogito-apps-build-parent/pom.xml +++ b/kogito-apps-build-parent/pom.xml @@ -127,6 +127,7 @@ org.jboss.logmanager.LogManager + ${container.image.kafka} diff --git a/trusty/trusty-service/trusty-service-common/src/test/resources/application.properties b/trusty/trusty-service/trusty-service-common/src/test/resources/application.properties index b885577f37..e574c42334 100644 --- a/trusty/trusty-service/trusty-service-common/src/test/resources/application.properties +++ b/trusty/trusty-service/trusty-service-common/src/test/resources/application.properties @@ -53,4 +53,6 @@ mp.messaging.incoming.trusty-explainability-result.value.deserializer=org.apache mp.messaging.incoming.trusty-explainability-result.auto.offset.reset=earliest # Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource -quarkus.keycloak.devservices.enabled=false \ No newline at end of file +quarkus.keycloak.devservices.enabled=false + +quarkus.kafka.devservices.image-name=${container.image.kafka} \ No newline at end of file