Skip to content

Commit

Permalink
kie-kogito-images-1735: Add the kogito-addons-quarkus-jobs-knative-ev…
Browse files Browse the repository at this point in the history
…enting addon to the swf-builder images (apache#1736)
  • Loading branch information
wmedvede authored and rgdoliveira committed Jan 23, 2024
1 parent 134332d commit 6e705a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/kogito-swf/builder/build-config/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
2 changes: 2 additions & 0 deletions tests/shell/kogito-swf-builder/src/RunTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 6e705a1

Please sign in to comment.