Skip to content

Commit

Permalink
KOGITO-1727] - Release Kogito Images 0.9.1 (#141)
Browse files Browse the repository at this point in the history
staging data-index: data-index-service-0.9.1-runner.jar
md5: 3f0967d34abd163c25e88ffde45c860d

staging jobs-service: jobs-service-0.9.1-runner.jar
md5: 5045a15e32c2d50ef2b2a05ee241de7e

staging management-console: management-console-0.9.1-runner.jar
md5: 6ccb41e412ab9df7cd463ee9e9360b6d

- quay.io/kiegroup/kogito-data-index:0.9.1
- quay.io/kiegroup/kogito-jobs-service:0.9.1
- quay.io/kiegroup/kogito-management-console:0.9.1
- quay.io/kiegroup/kogito-quarkus-jvm-ubi8:0.9.1
- quay.io/kiegroup/kogito-quarkus-ubi8:0.9.1
- quay.io/kiegroup/kogito-quarkus-ubi8-s2i:0.9.1
- quay.io/kiegroup/kogito-springboot-ubi8:0.9.1
- quay.io/kiegroup/kogito-springboot-ubi8-s2i:0.9.1

Signed-off-by: spolti <[email protected]>
  • Loading branch information
spolti authored Apr 20, 2020
1 parent c070fac commit 38b5e7c
Show file tree
Hide file tree
Showing 28 changed files with 303 additions and 123 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ ifneq ($(findstring "rc",$(IMAGE_VERSION)),"rc")
${BUILD_ENGINE} tag quay.io/kiegroup/kogito-management-console:${IMAGE_VERSION} quay.io/kiegroup/kogito-management-console:${SHORTENED_LATEST_VERSION}
endif


# Build and test all images
.PHONY: test
test:
Expand Down
2 changes: 1 addition & 1 deletion image.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema_version: 1

name: "kogito-image-real-name-on-overrides-file"
version: "0.9.1-rc2"
version: "0.9.1"
# 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
Expand Down
48 changes: 24 additions & 24 deletions kogito-imagestream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ items:
openshift.io/provider-display-name: Kie Group.
spec:
tags:
- name: '0.9.1-rc2'
- name: '0.9.1'
annotations:
description: Runtime image for Kogito based on Quarkus native image
iconClass: icon-jbpm
tags: runtime,kogito,quarkus
supports: quarkus
version: '0.9.1-rc2'
version: '0.9.1'
referencePolicy:
type: Local
from:
kind: DockerImage
name: quay.io/kiegroup/kogito-quarkus-ubi8:0.9.1-rc2
name: quay.io/kiegroup/kogito-quarkus-ubi8:0.9.1
- kind: ImageStream
apiVersion: v1
metadata:
Expand All @@ -36,18 +36,18 @@ items:
openshift.io/provider-display-name: Kie Group.
spec:
tags:
- name: '0.9.1-rc2'
- name: '0.9.1'
annotations:
description: Runtime image for Kogito based on Quarkus JVM image
iconClass: icon-jbpm
tags: runtime,kogito,quarkus,jvm
supports: quarkus
version: '0.9.1-rc2'
version: '0.9.1'
referencePolicy:
type: Local
from:
kind: DockerImage
name: quay.io/kiegroup/kogito-quarkus-jvm-ubi8:0.9.1-rc2
name: quay.io/kiegroup/kogito-quarkus-jvm-ubi8:0.9.1
- kind: ImageStream
apiVersion: v1
metadata:
Expand All @@ -57,18 +57,18 @@ items:
openshift.io/provider-display-name: Kie Group.
spec:
tags:
- name: '0.9.1-rc2'
- name: '0.9.1'
annotations:
description: Platform for building Kogito based on Quarkus
iconClass: icon-jbpm
tags: builder,kogito,quarkus
supports: quarkus
version: '0.9.1-rc2'
version: '0.9.1'
referencePolicy:
type: Local
from:
kind: DockerImage
name: quay.io/kiegroup/kogito-quarkus-ubi8-s2i:0.9.1-rc2
name: quay.io/kiegroup/kogito-quarkus-ubi8-s2i:0.9.1
- kind: ImageStream
apiVersion: v1
metadata:
Expand All @@ -78,18 +78,18 @@ items:
openshift.io/provider-display-name: Kie Group.
spec:
tags:
- name: '0.9.1-rc2'
- name: '0.9.1'
annotations:
description: Runtime image for Kogito based on SpringBoot
iconClass: icon-jbpm
tags: runtime,kogito,springboot
supports: springboot
version: '0.9.1-rc2'
version: '0.9.1'
referencePolicy:
type: Local
from:
kind: DockerImage
name: quay.io/kiegroup/kogito-springboot-ubi8:0.9.1-rc2
name: quay.io/kiegroup/kogito-springboot-ubi8:0.9.1
- kind: ImageStream
apiVersion: v1
metadata:
Expand All @@ -99,18 +99,18 @@ items:
openshift.io/provider-display-name: Kie Group.
spec:
tags:
- name: '0.9.1-rc2'
- name: '0.9.1'
annotations:
description: Platform for building Kogito based on Quarkus
iconClass: icon-jbpm
tags: builder,kogito,springboot
supports: springboot
version: '0.9.1-rc2'
version: '0.9.1'
referencePolicy:
type: Local
from:
kind: DockerImage
name: quay.io/kiegroup/kogito-springboot-ubi8-s2i:0.9.1-rc2
name: quay.io/kiegroup/kogito-springboot-ubi8-s2i:0.9.1
- kind: ImageStream
apiVersion: v1
metadata:
Expand All @@ -120,18 +120,18 @@ items:
openshift.io/provider-display-name: Kie Group.
spec:
tags:
- name: '0.9.1-rc2'
- name: '0.9.1'
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.9.1-rc2'
version: '0.9.1'
referencePolicy:
type: Local
from:
kind: DockerImage
name: quay.io/kiegroup/kogito-data-index:0.9.1-rc2
name: quay.io/kiegroup/kogito-data-index:0.9.1
- kind: ImageStream
apiVersion: v1
metadata:
Expand All @@ -141,18 +141,18 @@ items:
openshift.io/provider-display-name: Kie Group.
spec:
tags:
- name: '0.9.1-rc2'
- name: '0.9.1'
annotations:
description: Runtime image for the Kogito Jobs Service
iconClass: icon-jbpm
tags: kogito,jobs-service
supports: out-of-box process timers
version: '0.9.1-rc2'
version: '0.9.1'
referencePolicy:
type: Local
from:
kind: DockerImage
name: quay.io/kiegroup/kogito-jobs-service:0.9.1-rc2
name: quay.io/kiegroup/kogito-jobs-service:0.9.1
- kind: ImageStream
apiVersion: v1
metadata:
Expand All @@ -162,16 +162,16 @@ items:
openshift.io/provider-display-name: Kie Group.
spec:
tags:
- name: '0.9.1-rc2'
- name: '0.9.1'
annotations:
description: Runtime image for the Kogito Management Console
iconClass: icon-jbpm
tags: kogito,management-console
supports: business process management
version: '0.9.1-rc2'
version: '0.9.1'
referencePolicy:
type: Local
from:
kind: DockerImage
name: quay.io/kiegroup/kogito-management-console:0.9.1-rc2
name: quay.io/kiegroup/kogito-management-console:0.9.1

3 changes: 2 additions & 1 deletion kogito-quarkus-s2i-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ packages:
- zlib-devel

run:
workdir: "/home/kogito"
workdir: "/home/kogito"

6 changes: 3 additions & 3 deletions modules/kogito-data-index/module.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
schema_version: 1
name: org.kie.kogito.dataindex
version: "0.9.1-rc2"
version: "0.9.1"

artifacts:
- name: kogito-data-index-runner.jar
url: https://repository.jboss.org/org/kie/kogito/data-index-service/0.9.1-SNAPSHOT/data-index-service-0.9.1-20200410.154951-11-runner.jar
md5: cf5549ad15725a3a4e69f085da56683b
url: https://repository.jboss.org/org/kie/kogito/data-index-service/0.9.1/data-index-service-0.9.1-runner.jar
md5: 3f0967d34abd163c25e88ffde45c860d

execute:
- script: configure
Expand Down
2 changes: 1 addition & 1 deletion modules/kogito-image-dependencies/module.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: org.kie.kogito.image.dependencies
version: "0.9.1-rc2"
version: "0.9.1"
description: holds common dependencies across images

execute:
Expand Down
4 changes: 2 additions & 2 deletions modules/kogito-infinispan-properties/module.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
schema_version: 1
name: org.kie.kogito.infinispan.properties
version: "0.9.1-rc2"
version: "0.9.1"

envs:
- name: "INFINISPAN_USEAUTH"
example: "false"
value: "false"
description: "Flag that signals to Infinispan Hotrod client to use authentication (Used to set the infinispan.client.hotrod.use_auth system property)"
- name: "INFINISPAN_USERNAME"
example: "myUsername"
Expand Down
6 changes: 3 additions & 3 deletions modules/kogito-jobs-service/module.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
schema_version: 1
name: org.kie.kogito.jobs.service
version: "0.9.1-rc2"
version: "0.9.1"

artifacts:
- name: kogito-jobs-service-runner.jar
url: https://repository.jboss.org/org/kie/kogito/jobs-service/0.9.1-SNAPSHOT/jobs-service-0.9.1-20200410.154450-11-runner.jar
md5: d7e781cbdb4b5968185699e03614a437
url: https://repository.jboss.org/org/kie/kogito/jobs-service/0.9.1/jobs-service-0.9.1-runner.jar
md5: 5045a15e32c2d50ef2b2a05ee241de7e

execute:
- script: configure
Expand Down
3 changes: 2 additions & 1 deletion modules/kogito-jq/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash

microdnf clean all
rm -rf /var/cache/yum
# segmentation full if delete /yum dir.
rm -rf /var/cache/dnf
2 changes: 1 addition & 1 deletion modules/kogito-jq/module.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: org.kie.kogito.jq
version: "0.9.1-rc2"
version: "0.9.1"

modules:
install:
Expand Down
2 changes: 1 addition & 1 deletion modules/kogito-kubernetes-client/module.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: org.kie.kogito.kubernetes.client
version: "0.9.1-rc2"
version: "0.9.1"

execute:
- script: configure
Expand Down
2 changes: 1 addition & 1 deletion modules/kogito-launch-scripts/module.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: org.kie.kogito.launch.scripts
version: "0.9.1-rc2"
version: "0.9.1"

execute:
- script: configure
2 changes: 1 addition & 1 deletion modules/kogito-logging/module.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: org.kie.kogito.logging
version: "0.9.1-rc2"
version: "0.9.1"

execute:
- script: configure
6 changes: 3 additions & 3 deletions modules/kogito-management-console/module.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
schema_version: 1
name: org.kie.kogito.management.console
version: "0.9.1-rc2"
version: "0.9.1"

envs:
- name: "KOGITO_DATAINDEX_HTTP_URL"
description: "Kogito Data Index address, if empty defaults to http://localhost:8180."

artifacts:
- name: kogito-management-console-runner.jar
url: https://repository.jboss.org/org/kie/kogito/management-console/0.9.1-SNAPSHOT/management-console-0.9.1-20200410.155354-11-runner.jar
md5: afd4885e4c33884e744adaaed3e280b7
url: https://repository.jboss.org/org/kie/kogito/management-console/0.9.1/management-console-0.9.1-runner.jar
md5: 6ccb41e412ab9df7cd463ee9e9360b6d

execute:
- script: configure
Expand Down
2 changes: 1 addition & 1 deletion modules/kogito-persistence/module.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: org.kie.kogito.persistence
version: "0.9.1-rc2"
version: "0.9.1"

modules:
install:
Expand Down
2 changes: 1 addition & 1 deletion modules/kogito-quarkus-jvm/module.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: org.kie.kogito.quarkus.jvm
version: "0.9.1-rc2"
version: "0.9.1"

execute:
- script: configure
Expand Down
4 changes: 2 additions & 2 deletions modules/kogito-quarkus-s2i/module.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
schema_version: 1
name: org.kie.kogito.quarkus.s2i
version: "0.9.1-rc2"
version: "0.9.1"

execute:
- script: configure

envs:
- name: "KOGITO_VERSION"
value: "0.9.1-rc2"
value: "0.9.1"
2 changes: 1 addition & 1 deletion modules/kogito-quarkus/module.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: org.kie.kogito.quarkus
version: "0.9.1-rc2"
version: "0.9.1"

execute:
- script: configure
Expand Down
2 changes: 1 addition & 1 deletion modules/kogito-s2i-core/module.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: org.kie.kogito.s2i.core
version: '0.9.1-rc2'
version: '0.9.1'
description: Kogito s2i core module. All s2i files shoul be placed here.

labels:
Expand Down
4 changes: 2 additions & 2 deletions modules/kogito-springboot-s2i/module.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
schema_version: 1
name: org.kie.kogito.springboot.s2i
version: "0.9.1-rc2"
version: "0.9.1"

execute:
- script: configure

envs:
- name: "KOGITO_VERSION"
value: "0.9.1-rc2"
value: "0.9.1"
2 changes: 1 addition & 1 deletion modules/kogito-springboot/module.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: org.kie.kogito.springboot
version: "0.9.1-rc2"
version: "0.9.1"

execute:
- script: configure
Expand Down
2 changes: 1 addition & 1 deletion modules/kogito-system-user/module.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: org.kie.kogito.system.user
version: "0.9.1-rc2"
version: "0.9.1"

execute:
- script: add-user
Expand Down
4 changes: 2 additions & 2 deletions tests/features/kogito-quarkus-jvm-ubi8.feature
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Feature: Kogito-quarkus-ubi8 feature.
| request_body | {"strings":["hello"]} |
| wait | 80 |
| expected_phrase | ["hello","world"] |
And file /home/kogito/bin/rules-quarkus-helloworld-0.9.1-SNAPSHOT-runner.jar should exist
And file /home/kogito/bin/rules-quarkus-helloworld-runner.jar should exist

Scenario: Verify if the binary build (forcing) is finished as expected and if it is listening on the expected port
Given s2i build /tmp/kogito-examples/rules-quarkus-helloworld from target
Expand All @@ -50,5 +50,5 @@ Feature: Kogito-quarkus-ubi8 feature.
| request_body | {"strings":["hello"]} |
| wait | 80 |
| expected_phrase | ["hello","world"] |
And file /home/kogito/bin/rules-quarkus-helloworld-0.9.1-SNAPSHOT-runner.jar should exist
And file /home/kogito/bin/rules-quarkus-helloworld-runner.jar should exist

Loading

0 comments on commit 38b5e7c

Please sign in to comment.