You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by ya...@apache.org on 2024/12/12 14:53:24 UTC

(incubator-kie-kogito-examples) branch main updated: [incubator-kie-issues-1682] Test cases in kogito repos GHA fail with "pull access denied for vectorized/redpanda" (#2043)

This is an automated email from the ASF dual-hosted git repository.

yamer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 58815be29 [incubator-kie-issues-1682] Test cases in kogito repos GHA fail with "pull access denied for vectorized/redpanda" (#2043)
58815be29 is described below

commit 58815be2938f280b1280bc47922dbbbb1a5b0d80
Author: Toshiya Kobayashi <to...@gmail.com>
AuthorDate: Thu Dec 12 23:53:20 2024 +0900

    [incubator-kie-issues-1682] Test cases in kogito repos GHA fail with "pull access denied for vectorized/redpanda" (#2043)
---
 .../src/test/resources/application.properties                        | 5 +----
 pom.xml                                                              | 5 +++++
 .../serverless-workflow-callback-quarkus/pom.xml                     | 1 +
 .../src/test/resources/application.properties                        | 2 ++
 .../serverless-workflow-correlation-quarkus-mongodb/pom.xml          | 1 +
 .../src/test/resources/application.properties                        | 4 +++-
 .../serverless-workflow-correlation-quarkus/pom.xml                  | 1 +
 .../src/test/resources/application.properties                        | 4 +++-
 .../serverless-workflow-examples-parent/pom.xml                      | 1 +
 .../serverless-workflow-qas-service-showcase/query-service/pom.xml   | 1 +
 .../query-service}/src/test/resources/application.properties         | 5 +----
 11 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/test/resources/application.properties
similarity index 88%
copy from serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties
copy to kogito-quarkus-examples/process-kafka-persistence-quarkus/src/test/resources/application.properties
index aa62062ff..d0b6aa719 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties
+++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/test/resources/application.properties
@@ -17,7 +17,4 @@
 # under the License.
 #
 
-quarkus.kogito.devservices.enabled=false
-
-kie.flyway.enabled=true
-quarkus.datasource.db-kind=postgresql
+quarkus.kafka.devservices.image-name=${container.image.kafka}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 162627986..fba27c9a9 100755
--- a/pom.xml
+++ b/pom.xml
@@ -410,6 +410,11 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-failsafe-plugin</artifactId>
+        <configuration>
+          <systemPropertyVariables>
+            <container.image.kafka>${container.image.kafka}</container.image.kafka>
+          </systemPropertyVariables>
+        </configuration>
       </plugin>
     </plugins>
   </build>
diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml
index ea2d5d4bf..0624ec72d 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml
@@ -154,6 +154,7 @@
           <systemPropertyVariables>
             <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
             <maven.home>${maven.home}</maven.home>
+            <container.image.kafka>${container.image.kafka}</container.image.kafka>
           </systemPropertyVariables>
         </configuration>
         <executions>
diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties
index aa62062ff..f88d69af5 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties
+++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties
@@ -21,3 +21,5 @@ quarkus.kogito.devservices.enabled=false
 
 kie.flyway.enabled=true
 quarkus.datasource.db-kind=postgresql
+
+quarkus.kafka.devservices.image-name=${container.image.kafka}
\ No newline at end of file
diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/pom.xml b/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/pom.xml
index 07e78a31d..09c9abff8 100644
--- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/pom.xml
@@ -146,6 +146,7 @@
           <systemPropertyVariables>
             <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
             <maven.home>${maven.home}</maven.home>
+            <container.image.kafka>${container.image.kafka}</container.image.kafka>
           </systemPropertyVariables>
         </configuration>
         <executions>
diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/src/test/resources/application.properties
index 50bf6c115..f4a7c5c71 100644
--- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/src/test/resources/application.properties
+++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/src/test/resources/application.properties
@@ -21,4 +21,6 @@
 quarkus.http.test-port=0
 
 # Temporary fix for test to pass due to issue in Quarkus classloading resolver
-quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers
\ No newline at end of file
+quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers
+
+quarkus.kafka.devservices.image-name=${container.image.kafka}
\ No newline at end of file
diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml
index 75736429f..56d8c803a 100644
--- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml
@@ -146,6 +146,7 @@
           <systemPropertyVariables>
             <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
             <maven.home>${maven.home}</maven.home>
+            <container.image.kafka>${container.image.kafka}</container.image.kafka>
           </systemPropertyVariables>
         </configuration>
         <executions>
diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/resources/application.properties
index 50bf6c115..f4a7c5c71 100644
--- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/resources/application.properties
+++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/resources/application.properties
@@ -21,4 +21,6 @@
 quarkus.http.test-port=0
 
 # Temporary fix for test to pass due to issue in Quarkus classloading resolver
-quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers
\ No newline at end of file
+quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers
+
+quarkus.kafka.devservices.image-name=${container.image.kafka}
\ No newline at end of file
diff --git a/serverless-workflow-examples/serverless-workflow-examples-parent/pom.xml b/serverless-workflow-examples/serverless-workflow-examples-parent/pom.xml
index b3135db6c..ba9531907 100644
--- a/serverless-workflow-examples/serverless-workflow-examples-parent/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-examples-parent/pom.xml
@@ -35,6 +35,7 @@
     <!-- Reproducible builds -->
     <project.build.outputTimestamp>2024-01-16T00:00:00Z</project.build.outputTimestamp>
     <version.maven.artifact.plugin>3.4.1</version.maven.artifact.plugin>
+    <container.image.kafka>redpandadata/redpanda:v24.3.1</container.image.kafka>
   </properties>
 
 
diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml
index 52febe5d5..63d414a42 100644
--- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml
@@ -162,6 +162,7 @@
           <systemPropertyVariables>
             <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
             <maven.home>${maven.home}</maven.home>
+            <container.image.kafka>${container.image.kafka}</container.image.kafka>
           </systemPropertyVariables>
         </configuration>
         <executions>
diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/test/resources/application.properties
similarity index 88%
copy from serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties
copy to serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/test/resources/application.properties
index aa62062ff..d0b6aa719 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties
+++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/test/resources/application.properties
@@ -17,7 +17,4 @@
 # under the License.
 #
 
-quarkus.kogito.devservices.enabled=false
-
-kie.flyway.enabled=true
-quarkus.datasource.db-kind=postgresql
+quarkus.kafka.devservices.image-name=${container.image.kafka}
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org