diff --git a/image.yaml b/image.yaml index b4082bb11..626b357bf 100644 --- a/image.yaml +++ b/image.yaml @@ -1,7 +1,7 @@ schema_version: 1 name: "kogito-image-real-name-on-overrides-file" -version: "0.11.0" +version: "0.12.0-rc1" # until this issue is not fixed use 8.0 tag. # https://github.com/rpm-software-management/microdnf/issues/50 # https://bugzilla.redhat.com/show_bug.cgi?id=1769831 diff --git a/kogito-imagestream.yaml b/kogito-imagestream.yaml index 149446fb9..bdf716d83 100644 --- a/kogito-imagestream.yaml +++ b/kogito-imagestream.yaml @@ -15,18 +15,18 @@ items: openshift.io/provider-display-name: Kie Group. spec: tags: - - name: '0.11.0' + - name: '0.12.0-rc1' annotations: description: Runtime image for Kogito based on Quarkus native image iconClass: icon-jbpm tags: runtime,kogito,quarkus supports: quarkus - version: '0.11.0' + version: '0.12.0-rc1' referencePolicy: type: Local from: kind: DockerImage - name: quay.io/kiegroup/kogito-quarkus-ubi8:0.11.0 + name: quay.io/kiegroup/kogito-quarkus-ubi8:0.12.0-rc1 - kind: ImageStream apiVersion: v1 metadata: @@ -36,18 +36,18 @@ items: openshift.io/provider-display-name: Kie Group. spec: tags: - - name: '0.11.0' + - name: '0.12.0-rc1' annotations: description: Runtime image for Kogito based on Quarkus JVM image iconClass: icon-jbpm tags: runtime,kogito,quarkus,jvm supports: quarkus - version: '0.11.0' + version: '0.12.0-rc1' referencePolicy: type: Local from: kind: DockerImage - name: quay.io/kiegroup/kogito-quarkus-jvm-ubi8:0.11.0 + name: quay.io/kiegroup/kogito-quarkus-jvm-ubi8:0.12.0-rc1 - kind: ImageStream apiVersion: v1 metadata: @@ -57,18 +57,18 @@ items: openshift.io/provider-display-name: Kie Group. spec: tags: - - name: '0.11.0' + - name: '0.12.0-rc1' annotations: description: Platform for building Kogito based on Quarkus iconClass: icon-jbpm tags: builder,kogito,quarkus supports: quarkus - version: '0.11.0' + version: '0.12.0-rc1' referencePolicy: type: Local from: kind: DockerImage - name: quay.io/kiegroup/kogito-quarkus-ubi8-s2i:0.11.0 + name: quay.io/kiegroup/kogito-quarkus-ubi8-s2i:0.12.0-rc1 - kind: ImageStream apiVersion: v1 metadata: @@ -78,18 +78,18 @@ items: openshift.io/provider-display-name: Kie Group. spec: tags: - - name: '0.11.0' + - name: '0.12.0-rc1' annotations: description: Runtime image for Kogito based on SpringBoot iconClass: icon-jbpm tags: runtime,kogito,springboot supports: springboot - version: '0.11.0' + version: '0.12.0-rc1' referencePolicy: type: Local from: kind: DockerImage - name: quay.io/kiegroup/kogito-springboot-ubi8:0.11.0 + name: quay.io/kiegroup/kogito-springboot-ubi8:0.12.0-rc1 - kind: ImageStream apiVersion: v1 metadata: @@ -99,18 +99,18 @@ items: openshift.io/provider-display-name: Kie Group. spec: tags: - - name: '0.11.0' + - name: '0.12.0-rc1' annotations: description: Platform for building Kogito based on Quarkus iconClass: icon-jbpm tags: builder,kogito,springboot supports: springboot - version: '0.11.0' + version: '0.12.0-rc1' referencePolicy: type: Local from: kind: DockerImage - name: quay.io/kiegroup/kogito-springboot-ubi8-s2i:0.11.0 + name: quay.io/kiegroup/kogito-springboot-ubi8-s2i:0.12.0-rc1 - kind: ImageStream apiVersion: v1 metadata: @@ -120,18 +120,18 @@ items: openshift.io/provider-display-name: Kie Group. spec: tags: - - name: '0.11.0' + - name: '0.12.0-rc1' annotations: description: Runtime image for the Kogito Data Index Service iconClass: icon-jbpm tags: kogito,data-index supports: persistence backed by Infinispan server - version: '0.11.0' + version: '0.12.0-rc1' referencePolicy: type: Local from: kind: DockerImage - name: quay.io/kiegroup/kogito-data-index:0.11.0 + name: quay.io/kiegroup/kogito-data-index:0.12.0-rc1 - kind: ImageStream apiVersion: v1 metadata: @@ -141,18 +141,18 @@ items: openshift.io/provider-display-name: Kie Group. spec: tags: - - name: '0.11.0' + - name: '0.12.0-rc1' annotations: description: Runtime image for the Kogito Jobs Service iconClass: icon-jbpm tags: kogito,jobs-service supports: out-of-box process timers - version: '0.11.0' + version: '0.12.0-rc1' referencePolicy: type: Local from: kind: DockerImage - name: quay.io/kiegroup/kogito-jobs-service:0.11.0 + name: quay.io/kiegroup/kogito-jobs-service:0.12.0-rc1 - kind: ImageStream apiVersion: v1 metadata: @@ -162,16 +162,16 @@ items: openshift.io/provider-display-name: Kie Group. spec: tags: - - name: '0.11.0' + - name: '0.12.0-rc1' annotations: description: Runtime image for the Kogito Management Console iconClass: icon-jbpm tags: kogito,management-console supports: business process management - version: '0.11.0' + version: '0.12.0-rc1' referencePolicy: type: Local from: kind: DockerImage - name: quay.io/kiegroup/kogito-management-console:0.11.0 + name: quay.io/kiegroup/kogito-management-console:0.12.0-rc1 diff --git a/modules/kogito-data-index/module.yaml b/modules/kogito-data-index/module.yaml index f154dbbbe..91ab319bc 100644 --- a/modules/kogito-data-index/module.yaml +++ b/modules/kogito-data-index/module.yaml @@ -1,11 +1,11 @@ schema_version: 1 name: org.kie.kogito.dataindex -version: "0.11.0" +version: "0.12.0-rc1" artifacts: - name: kogito-data-index-runner.jar - url: https://repository.jboss.org/org/kie/kogito/data-index-service/0.11.0/data-index-service-0.11.0-runner.jar - md5: cd6d7decc93d83671cce7b99aef12182 + url: https://repository.jboss.org/nexus/content/groups/public/org/kie/kogito/data-index-service/8.0.0-SNAPSHOT/data-index-service-8.0.0-20200618.192711-319-runner.jar + md5: 48b84a0d84430d64681624b95dd0dd71 execute: - script: configure diff --git a/modules/kogito-image-dependencies/module.yaml b/modules/kogito-image-dependencies/module.yaml index de9f81a6c..f33632587 100644 --- a/modules/kogito-image-dependencies/module.yaml +++ b/modules/kogito-image-dependencies/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.image.dependencies -version: "0.11.0" +version: "0.12.0-rc1" description: holds common dependencies across images execute: diff --git a/modules/kogito-infinispan-properties/module.yaml b/modules/kogito-infinispan-properties/module.yaml index 8383ee56d..8bfb6a8ca 100644 --- a/modules/kogito-infinispan-properties/module.yaml +++ b/modules/kogito-infinispan-properties/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.infinispan.properties -version: "0.11.0" +version: "0.12.0-rc1" envs: - name: "INFINISPAN_USEAUTH" diff --git a/modules/kogito-jobs-service/module.yaml b/modules/kogito-jobs-service/module.yaml index 9c1d926ac..ef7f18b6f 100644 --- a/modules/kogito-jobs-service/module.yaml +++ b/modules/kogito-jobs-service/module.yaml @@ -1,11 +1,11 @@ schema_version: 1 name: org.kie.kogito.jobs.service -version: "0.11.0" +version: "0.12.0-rc1" artifacts: - name: kogito-jobs-service-runner.jar - url: https://repository.jboss.org/org/kie/kogito/jobs-service/0.11.0/jobs-service-0.11.0-runner.jar - md5: 5b5648251ab15900752f8e223b41ed49 + url: https://repository.jboss.org/nexus/content/groups/public/org/kie/kogito/jobs-service/8.0.0-SNAPSHOT/jobs-service-8.0.0-20200618.192623-243-runner.jar + md5: f1b1ff887b00a4c3aeab0d58391628b5 execute: - script: configure diff --git a/modules/kogito-jq/module.yaml b/modules/kogito-jq/module.yaml index 6d252b9b8..f305ee101 100644 --- a/modules/kogito-jq/module.yaml +++ b/modules/kogito-jq/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.jq -version: "0.11.0" +version: "0.12.0-rc1" modules: install: diff --git a/modules/kogito-kubernetes-client/module.yaml b/modules/kogito-kubernetes-client/module.yaml index 256df5848..dcadd96e9 100644 --- a/modules/kogito-kubernetes-client/module.yaml +++ b/modules/kogito-kubernetes-client/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.kubernetes.client -version: "0.11.0" +version: "0.12.0-rc1" execute: - script: configure diff --git a/modules/kogito-launch-scripts/module.yaml b/modules/kogito-launch-scripts/module.yaml index f09456214..856d775e4 100644 --- a/modules/kogito-launch-scripts/module.yaml +++ b/modules/kogito-launch-scripts/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.launch.scripts -version: "0.11.0" +version: "0.12.0-rc1" execute: - script: configure diff --git a/modules/kogito-logging/module.yaml b/modules/kogito-logging/module.yaml index 71513735e..e11f7033f 100644 --- a/modules/kogito-logging/module.yaml +++ b/modules/kogito-logging/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.logging -version: "0.11.0" +version: "0.12.0-rc1" execute: - script: configure diff --git a/modules/kogito-management-console/module.yaml b/modules/kogito-management-console/module.yaml index 227effac1..d2362f16d 100644 --- a/modules/kogito-management-console/module.yaml +++ b/modules/kogito-management-console/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.management.console -version: "0.11.0" +version: "0.12.0-rc1" envs: - name: "KOGITO_DATAINDEX_HTTP_URL" @@ -8,8 +8,8 @@ envs: artifacts: - name: kogito-management-console-runner.jar - url: https://repository.jboss.org/org/kie/kogito/management-console/0.11.0/management-console-0.11.0-runner.jar - md5: 655eaf81bfcf5c3122facf3229b223a6 + url: https://repository.jboss.org/nexus/content/groups/public/org/kie/kogito/management-console/8.0.0-SNAPSHOT/management-console-8.0.0-20200618.192858-150-runner.jar + md5: 1c52ddf4d8be967a86ed3d7ee803eb74 execute: - script: configure diff --git a/modules/kogito-persistence/module.yaml b/modules/kogito-persistence/module.yaml index 33cb65c76..e43c3a6eb 100644 --- a/modules/kogito-persistence/module.yaml +++ b/modules/kogito-persistence/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.persistence -version: "0.11.0" +version: "0.12.0-rc1" modules: install: diff --git a/modules/kogito-quarkus-jvm/module.yaml b/modules/kogito-quarkus-jvm/module.yaml index 2a115d413..454dfbeb3 100644 --- a/modules/kogito-quarkus-jvm/module.yaml +++ b/modules/kogito-quarkus-jvm/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.quarkus.jvm -version: "0.11.0" +version: "0.12.0-rc1" execute: - script: configure diff --git a/modules/kogito-quarkus-s2i/module.yaml b/modules/kogito-quarkus-s2i/module.yaml index ae9b56fa6..a46ebbb6b 100644 --- a/modules/kogito-quarkus-s2i/module.yaml +++ b/modules/kogito-quarkus-s2i/module.yaml @@ -1,10 +1,10 @@ schema_version: 1 name: org.kie.kogito.quarkus.s2i -version: "0.11.0" +version: "0.12.0-rc1" execute: - script: configure envs: - name: "KOGITO_VERSION" - value: "0.11.0" + value: "8.0.0-SNAPSHOT" diff --git a/modules/kogito-quarkus/module.yaml b/modules/kogito-quarkus/module.yaml index bbd2751dc..076d9e1ac 100644 --- a/modules/kogito-quarkus/module.yaml +++ b/modules/kogito-quarkus/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.quarkus -version: "0.11.0" +version: "0.12.0-rc1" execute: - script: configure diff --git a/modules/kogito-s2i-core/module.yaml b/modules/kogito-s2i-core/module.yaml index 4a797b6b6..40f386cca 100644 --- a/modules/kogito-s2i-core/module.yaml +++ b/modules/kogito-s2i-core/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.s2i.core -version: '0.11.0' +version: '0.12.0-rc1' description: Kogito s2i core module. All s2i files shoul be placed here. labels: diff --git a/modules/kogito-springboot-s2i/module.yaml b/modules/kogito-springboot-s2i/module.yaml index 16772f9ea..c4f3b0252 100644 --- a/modules/kogito-springboot-s2i/module.yaml +++ b/modules/kogito-springboot-s2i/module.yaml @@ -1,10 +1,10 @@ schema_version: 1 name: org.kie.kogito.springboot.s2i -version: "0.11.0" +version: "0.12.0-rc1" execute: - script: configure envs: - name: "KOGITO_VERSION" - value: "0.11.0" + value: "8.0.0-SNAPSHOT" diff --git a/modules/kogito-springboot/module.yaml b/modules/kogito-springboot/module.yaml index 0089f3e0a..7b66e0ccb 100644 --- a/modules/kogito-springboot/module.yaml +++ b/modules/kogito-springboot/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.springboot -version: "0.11.0" +version: "0.12.0-rc1" execute: - script: configure diff --git a/modules/kogito-system-user/module.yaml b/modules/kogito-system-user/module.yaml index e828086be..e20bb1609 100644 --- a/modules/kogito-system-user/module.yaml +++ b/modules/kogito-system-user/module.yaml @@ -1,6 +1,6 @@ schema_version: 1 name: org.kie.kogito.system.user -version: "0.11.0" +version: "0.12.0-rc1" execute: - script: add-user diff --git a/tests/features/kogito-quarkus-ubi8-s2i.feature b/tests/features/kogito-quarkus-ubi8-s2i.feature index 78d9ed3d2..b1944c67b 100644 --- a/tests/features/kogito-quarkus-ubi8-s2i.feature +++ b/tests/features/kogito-quarkus-ubi8-s2i.feature @@ -2,7 +2,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests Scenario: Verify if the s2i build is finished as expected using native build and runtime image - Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld using 0.11.0 and runtime-image quay.io/kiegroup/kogito-quarkus-ubi8:latest + Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld using master and runtime-image quay.io/kiegroup/kogito-quarkus-ubi8:latest | variable | value | | NATIVE | true | | LIMIT_MEMORY | 3221225472 | @@ -21,7 +21,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests And s2i build log should contain -J-Xmx2576980377 Scenario: Verify if the s2i build is finished as expected using native build and no runtime image - Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld using 0.11.0 + Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld using master | variable | value | | NATIVE | true | | LIMIT_MEMORY | 3221225472 | @@ -40,7 +40,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests And s2i build log should contain -J-Xmx2576980377 Scenario: Verify if the s2i build is finished as expected with non native build and no runtime image - Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld using 0.11.0 + Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld using master | variable | value | | NATIVE | false | Then check that page is served @@ -57,7 +57,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests And file /home/kogito/cacerts should exist Scenario: Verify if the s2i build is finished as expected performing a non native build with runtime image - Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld using 0.11.0 and runtime-image quay.io/kiegroup/kogito-quarkus-jvm-ubi8:latest + Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld using master and runtime-image quay.io/kiegroup/kogito-quarkus-jvm-ubi8:latest | variable | value | | NATIVE | false | | JAVA_OPTIONS | -Dquarkus.log.level=DEBUG | @@ -75,7 +75,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests And run sh -c 'echo $JAVA_OPTIONS' in container and immediately check its output for -Dquarkus.log.level=DEBUG Scenario: Verify if the s2i build is finished as expected performing a non native build and if it is listening on the expected port , test uses custom properties file to test the port configuration. - Given s2i build /tmp/kogito-examples from rules-quarkus-helloworld using 0.11.0 and runtime-image quay.io/kiegroup/kogito-quarkus-jvm-ubi8:latest + Given s2i build /tmp/kogito-examples from rules-quarkus-helloworld using master and runtime-image quay.io/kiegroup/kogito-quarkus-jvm-ubi8:latest | variable | value | | NATIVE | false | Then check that page is served @@ -90,7 +90,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests And file /home/kogito/bin/rules-quarkus-helloworld-runner.jar should exist Scenario: Verify if the s2i build is finished as expected performing a native build and if it is listening on the expected port, test uses custom properties file to test the port configuration. - Given s2i build /tmp/kogito-examples from rules-quarkus-helloworld using 0.11.0 and runtime-image quay.io/kiegroup/kogito-quarkus-ubi8:latest + Given s2i build /tmp/kogito-examples from rules-quarkus-helloworld using master and runtime-image quay.io/kiegroup/kogito-quarkus-ubi8:latest | variable | value | | NATIVE | true | | LIMIT_MEMORY | 6442450944 | @@ -106,7 +106,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests And file /home/kogito/bin/rules-quarkus-helloworld-runner should exist Scenario: Verify if the s2i build is finished as expected performing a non native build with persistence enabled - Given s2i build https://github.com/kiegroup/kogito-examples.git from process-quarkus-example using 0.11.0 and runtime-image quay.io/kiegroup/kogito-quarkus-jvm-ubi8:latest + Given s2i build https://github.com/kiegroup/kogito-examples.git from process-quarkus-example using master and runtime-image quay.io/kiegroup/kogito-quarkus-jvm-ubi8:latest | variable | value | | NATIVE | false | | MAVEN_ARGS_APPEND | -Ppersistence | @@ -122,7 +122,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests # ignore until https://issues.redhat.com/browse/KOGITO-2003 is not fixed. @ignore Scenario: Verify if the s2i build is finished as expected performing a native build with persistence enabled - Given s2i build https://github.com/kiegroup/kogito-examples.git from process-quarkus-example using 0.11.0 and runtime-image quay.io/kiegroup/kogito-quarkus-ubi8:latest + Given s2i build https://github.com/kiegroup/kogito-examples.git from process-quarkus-example using master and runtime-image quay.io/kiegroup/kogito-quarkus-ubi8:latest | variable | value | | NATIVE | true | | LIMIT_MEMORY | 6442450944 | @@ -137,7 +137,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests And s2i build log should contain [persistence] Generated checksum for /home/kogito/data/protobufs/demo.orders.proto with the name: /home/kogito/data/protobufs/demo.orders-md5.txt Scenario: Scenario: Verify if the multi-module s2i build is finished as expected performing a non native build - Given s2i build https://github.com/kiegroup/kogito-examples.git from . using 0.11.0 and runtime-image quay.io/kiegroup/kogito-quarkus-jvm-ubi8:latest + Given s2i build https://github.com/kiegroup/kogito-examples.git from . using master and runtime-image quay.io/kiegroup/kogito-quarkus-jvm-ubi8:latest | variable | value | | NATIVE | false | | ARTIFACT_DIR | rules-quarkus-helloworld/target | @@ -154,7 +154,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests And file /home/kogito/bin/rules-quarkus-helloworld-runner.jar should exist Scenario: Verify if the multi-module s2i build is finished as expected performing a native build - Given s2i build https://github.com/kiegroup/kogito-examples.git from . using 0.11.0 and runtime-image quay.io/kiegroup/kogito-quarkus-ubi8:latest + Given s2i build https://github.com/kiegroup/kogito-examples.git from . using master and runtime-image quay.io/kiegroup/kogito-quarkus-ubi8:latest | variable | value | | NATIVE | true | | LIMIT_MEMORY | 6442450944 | @@ -172,7 +172,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests And file /home/kogito/bin/rules-quarkus-helloworld-runner should exist Scenario: Perform a incremental s2i build - Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld with env and incremental using 0.11.0 + Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld with env and incremental using master | variable | value | | NATIVE | false | Then s2i build log should not contain WARNING: Clean build will be performed because of error saving previous build artifacts @@ -189,7 +189,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests # Since the same image is used we can do a subsequent incremental build and verify if it is working as expected. Scenario: Perform a second incremental s2i build - Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld with env and incremental using 0.11.0 + Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld with env and incremental using master | variable | value | | NATIVE | false | Then s2i build log should contain Expanding artifacts from incremental build... @@ -206,7 +206,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests | expected_phrase | ["hello","world"] | Scenario: Perform a third incremental s2i build, this time, with native enabled - Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld with env and incremental using 0.11.0 + Given s2i build https://github.com/kiegroup/kogito-examples.git from rules-quarkus-helloworld with env and incremental using master | variable | value | | NATIVE | true | | LIMIT_MEMORY | 6442450944 | @@ -247,7 +247,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests And run sh -c 'echo $GRAALVM_VERSION' in container and immediately check its output for 19.3.1 Scenario: Verify that the Kogito Maven archetype is generating the project and compiling it correctly - Given s2i build /tmp/kogito-examples from dmn-example using 0.11.0 and runtime-image quay.io/kiegroup/kogito-quarkus-jvm-ubi8:latest + Given s2i build /tmp/kogito-examples from dmn-example using master and runtime-image quay.io/kiegroup/kogito-quarkus-jvm-ubi8:latest | variable | value | | NATIVE | false | | KOGITO_VERSION | 8.0.0-SNAPSHOT | @@ -263,7 +263,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests | request_body | {"Driver": {"Points": 2}, "Violation": {"Type": "speed","Actual Speed": 120,"Speed Limit": 100}} | Scenario: Verify that the Kogito Maven archetype is generating the project and compiling it correctly using native build - Given s2i build /tmp/kogito-examples from dmn-example using 0.11.0 and runtime-image quay.io/kiegroup/kogito-quarkus-ubi8:latest + Given s2i build /tmp/kogito-examples from dmn-example using master and runtime-image quay.io/kiegroup/kogito-quarkus-ubi8:latest | variable | value | | NATIVE | true | | LIMIT_MEMORY | 6442450944 | @@ -280,7 +280,7 @@ Feature: kogito-quarkus-ubi8-s2i image tests | request_body | {"Driver": {"Points": 2}, "Violation": {"Type": "speed","Actual Speed": 120,"Speed Limit": 100}} | Scenario: Verify that the Kogito Maven archetype is generating the project and compiling it correctly with custom group id, archetype & version - Given s2i build /tmp/kogito-examples from dmn-example using 0.11.0 and runtime-image quay.io/kiegroup/kogito-quarkus-jvm-ubi8:latest + Given s2i build /tmp/kogito-examples from dmn-example using master and runtime-image quay.io/kiegroup/kogito-quarkus-jvm-ubi8:latest | variable | value | | NATIVE | false | | KOGITO_VERSION | 8.0.0-SNAPSHOT | diff --git a/tests/features/kogito-springboot-ubi8-s2i.feature b/tests/features/kogito-springboot-ubi8-s2i.feature index bdebddb44..3babefb3b 100644 --- a/tests/features/kogito-springboot-ubi8-s2i.feature +++ b/tests/features/kogito-springboot-ubi8-s2i.feature @@ -2,7 +2,7 @@ Feature: kogito-springboot-ubi8-s2i image tests Scenario: Verify if the s2i build is finished as expected with debug enabled - Given s2i build https://github.com/kiegroup/kogito-examples.git from process-springboot-example using 0.11.0 and runtime-image quay.io/kiegroup/kogito-springboot-ubi8:latest + Given s2i build https://github.com/kiegroup/kogito-examples.git from process-springboot-example using master and runtime-image quay.io/kiegroup/kogito-springboot-ubi8:latest | variable | value | | JAVA_OPTIONS | -Ddebug=true | Then check that page is served @@ -16,7 +16,7 @@ Feature: kogito-springboot-ubi8-s2i image tests And run sh -c 'echo $JAVA_OPTIONS' in container and immediately check its output for -Ddebug=true Scenario: Verify if the s2i build is finished as expected with no runtime image and debug enabled - Given s2i build https://github.com/kiegroup/kogito-examples.git from process-springboot-example using 0.11.0 + Given s2i build https://github.com/kiegroup/kogito-examples.git from process-springboot-example using master | variable | value | | JAVA_OPTIONS | -Ddebug=true | Then check that page is served @@ -30,7 +30,7 @@ Feature: kogito-springboot-ubi8-s2i image tests And run sh -c 'echo $JAVA_OPTIONS' in container and immediately check its output for -Ddebug=true Scenario: Verify if the s2i build is finished as expected and if it is listening on the expected port, test uses custom properties file to test the port configuration. - Given s2i build /tmp/kogito-examples from process-springboot-example using 0.11.0 and runtime-image quay.io/kiegroup/kogito-springboot-ubi8:latest + Given s2i build /tmp/kogito-examples from process-springboot-example using master and runtime-image quay.io/kiegroup/kogito-springboot-ubi8:latest # Leave those here as placeholder for scripts adding variable to the test. No impact on tests if empty. | variable | value | Then check that page is served @@ -43,7 +43,7 @@ Feature: kogito-springboot-ubi8-s2i image tests And container log should contain Tomcat initialized with port(s): 8080 (http) Scenario: Verify if the s2i build is finished as expected with persistence enabled - Given s2i build https://github.com/kiegroup/kogito-examples.git from process-springboot-example using 0.11.0 and runtime-image quay.io/kiegroup/kogito-springboot-ubi8:latest + Given s2i build https://github.com/kiegroup/kogito-examples.git from process-springboot-example using master and runtime-image quay.io/kiegroup/kogito-springboot-ubi8:latest | variable | value | | MAVEN_ARGS_APPEND | -Ppersistence | Then file /home/kogito/bin/process-springboot-example.jar should exist @@ -54,7 +54,7 @@ Feature: kogito-springboot-ubi8-s2i image tests And run sh -c 'cat /home/kogito/data/protobufs/demo.orders-md5.txt' in container and immediately check its output for 02b40df868ebda3acb3b318b6ebcc055 Scenario: Verify if the s2i build is finished as expected using multi-module build with debug enabled - Given s2i build https://github.com/kiegroup/kogito-examples.git from . using 0.11.0 and runtime-image quay.io/kiegroup/kogito-springboot-ubi8:latest + Given s2i build https://github.com/kiegroup/kogito-examples.git from . using master and runtime-image quay.io/kiegroup/kogito-springboot-ubi8:latest | variable | value | | JAVA_OPTIONS | -Ddebug=true | | ARTIFACT_DIR | process-springboot-example/target | @@ -70,7 +70,7 @@ Feature: kogito-springboot-ubi8-s2i image tests And run sh -c 'echo $JAVA_OPTIONS' in container and immediately check its output for -Ddebug=true Scenario: Scenario: Perform a incremental s2i build - Given s2i build https://github.com/kiegroup/kogito-examples.git from process-springboot-example with env and incremental using 0.11.0 + Given s2i build https://github.com/kiegroup/kogito-examples.git from process-springboot-example with env and incremental using master # Leave those here as placeholder for scripts adding variable to the test. No impact on tests if empty. | variable | value | Then check that page is served @@ -83,7 +83,7 @@ Feature: kogito-springboot-ubi8-s2i image tests # Since the same image is used we can do a subsequent incremental build and verify if it is working as expected. Scenario: Perform a second incremental s2i build - Given s2i build https://github.com/kiegroup/kogito-examples.git from process-springboot-example with env and incremental using 0.11.0 + Given s2i build https://github.com/kiegroup/kogito-examples.git from process-springboot-example with env and incremental using master # Leave those here as placeholder for scripts adding variable to the test. No impact on tests if empty. | variable | value | Then s2i build log should contain Expanding artifacts from incremental build... @@ -108,7 +108,7 @@ Feature: kogito-springboot-ubi8-s2i image tests And run sh -c 'echo $MAVEN_VERSION' in container and immediately check its output for 3.6.2 Scenario: Verify that the Kogito Maven archetype is generating the project and compiling it correctly when runtime is springboot - Given s2i build /tmp/kogito-examples from dmn-example using 0.11.0 and runtime-image quay.io/kiegroup/kogito-springboot-ubi8:latest + Given s2i build /tmp/kogito-examples from dmn-example using master and runtime-image quay.io/kiegroup/kogito-springboot-ubi8:latest | variable | value | | KOGITO_VERSION | 8.0.0-SNAPSHOT | Then file /home/kogito/bin/project-1.0-SNAPSHOT.jar should exist diff --git a/tests/test-apps/clone-repo.sh b/tests/test-apps/clone-repo.sh index 3ea216381..a83013dd2 100755 --- a/tests/test-apps/clone-repo.sh +++ b/tests/test-apps/clone-repo.sh @@ -20,7 +20,7 @@ rm -rf kogito-examples/ git clone https://github.com/kiegroup/kogito-examples.git cd kogito-examples/ git fetch origin --tags -git checkout -b 0.11.0 0.11.0 +git checkout master # make a new copy of rules-quarkus-helloworld for native tests cp -rv /tmp/kogito-examples/rules-quarkus-helloworld/ /tmp/kogito-examples/rules-quarkus-helloworld-native/