forked from apache/incubator-kie-tools
-
Notifications
You must be signed in to change notification settings - Fork 6
/
kogito-runtime-native-overrides.yaml
45 lines (38 loc) · 1.68 KB
/
kogito-runtime-native-overrides.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
schema_version: 1
name: "quay.io/kiegroup/kogito-runtime-native"
description: "Runtime image for Kogito based on Quarkus native image"
labels:
- name: "maintainer"
value: "kogito <[email protected]>"
- name: "io.k8s.description"
value: "Runtime image for Kogito based on Quarkus native image"
- name: "io.k8s.display-name"
value: "Kogito based on Quarkus native image"
- name: "io.openshift.tags"
value: "runtime,kogito,quarkus,native"
- name: "io.openshift.s2i.assemble-input-files"
value: "/home/kogito/bin"
envs:
- name: "SCRIPT_DEBUG"
example: "true"
description: "If set to true, ensures that the bash scripts are executed with the -x option, printing the commands and their arguments as they are executed. Also debug JVM initialization."
- name: JAVA_OPTIONS
example: "-Dquarkus.log.level=DEBUG"
description: JVM options passed to the Java command.
- name: BINARY_BUILD
example: "true"
description: Enables binary builds for this image, meaning that the application binaries (e.g. maven target directory) will be uploaded to it.
ports:
- value: 8080
modules:
install:
- name: org.kie.kogito.image.dependencies
- name: org.kie.kogito.system.user
- name: org.kie.kogito.logging
- name: org.kie.kogito.launch.scripts
- name: org.kie.kogito.s2i.core
- name: org.kie.kogito.runtime.native
## s2i build . quay.io/kiegroup/kogito-s2i-builder:latest kogitotest:10.0 -e RUNTIME_TYPE=quarkus -e NATIVE=true --runtime-image quay.io/kiegroup/kogito-runtime-native:latest
## where "." is the sources dir, ie: /home/user/sources/kogito-examples/kogito-quarkus-examples/rules-quarkus-helloworld
run:
workdir: "/home/kogito"