From 6e705a10d8d44bde9731393c648dfc82fc02c0ff Mon Sep 17 00:00:00 2001 From: Walter Medvedeo Date: Mon, 22 Jan 2024 15:15:19 +0100 Subject: [PATCH] kie-kogito-images-1735: Add the kogito-addons-quarkus-jobs-knative-eventing addon to the swf-builder images (#1736) --- modules/kogito-swf/builder/build-config/module.yaml | 2 +- tests/shell/kogito-swf-builder/src/RunTests.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/kogito-swf/builder/build-config/module.yaml b/modules/kogito-swf/builder/build-config/module.yaml index 79fac6fe4..b3563932c 100644 --- a/modules/kogito-swf/builder/build-config/module.yaml +++ b/modules/kogito-swf/builder/build-config/module.yaml @@ -27,4 +27,4 @@ envs: - name: QUARKUS_EXTENSIONS # NOTE: If you change the QUARKUS_EXTENSIONS value remember to update the scripts/logic/build-quarkus-app.sh too! # Follow up issue to remove KOGITO_VERSION: https://issues.redhat.com/browse/KOGITO-9270 - value: quarkus-kubernetes,smallrye-health,org.kie.kogito:kogito-quarkus-serverless-workflow:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-knative-eventing:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-microprofile-config-service-catalog:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-kubernetes:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-events-process:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-process-management:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-source-files:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-knative-serving:${KOGITO_VERSION} + value: quarkus-kubernetes,smallrye-health,org.kie.kogito:kogito-quarkus-serverless-workflow:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-knative-eventing:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-microprofile-config-service-catalog:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-kubernetes:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-events-process:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-process-management:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-source-files:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-knative-serving:${KOGITO_VERSION},org.kie.kogito:kogito-addons-quarkus-jobs-knative-eventing:${KOGITO_VERSION} diff --git a/tests/shell/kogito-swf-builder/src/RunTests.java b/tests/shell/kogito-swf-builder/src/RunTests.java index 3cccdd702..2ec43afad 100644 --- a/tests/shell/kogito-swf-builder/src/RunTests.java +++ b/tests/shell/kogito-swf-builder/src/RunTests.java @@ -65,6 +65,7 @@ public class RunTests { .withDockerfile(Paths.get(getScriptDirPath(), "resources/greet", "Dockerfile")) .withBuildArg("BUILDER_IMAGE_TAG", getTestImage())) .withExposedPorts(8080) + .withEnv("KOGITO_SERVICE_URL", "http://localhost:8080") .waitingFor(Wait.forHttp("/jsongreet")) .withLogConsumer(logConsumer); @@ -93,6 +94,7 @@ public void testBuiltContainerAnswerCorrectly() throws URISyntaxException, IOExc "resources/greet-with-inputschema", "Dockerfile")) .withBuildArg("BUILDER_IMAGE_TAG", getTestImage())) .withExposedPorts(8080) + .withEnv("KOGITO_SERVICE_URL", "http://localhost:8080") .waitingFor(Wait.forHttp("/greeting")) .withLogConsumer(logConsumer);