Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sonataflow-operator] Remove hardcoded version in SonataFlow Operator/CLI artifacts #2751

Open
ricardozanini opened this issue Nov 18, 2024 · 0 comments · May be fixed by #2794
Open

[sonataflow-operator] Remove hardcoded version in SonataFlow Operator/CLI artifacts #2751

ricardozanini opened this issue Nov 18, 2024 · 0 comments · May be fixed by #2794
Assignees

Comments

@ricardozanini
Copy link
Member

ricardozanini commented Nov 18, 2024

Force versions to come from the kogito-versions modules. For example, the operator configuration files should not enable version overriding like:

postgreSQLPersistenceExtensions:
  - groupId: io.quarkus
    artifactId: quarkus-jdbc-postgresql
    version: 3.8.6
  - groupId: io.quarkus
    artifactId: quarkus-agroal
    version: 3.8.6
  - groupId: org.kie
    artifactId: kie-addons-quarkus-persistence-jdbc
    version: 999-20241016-SNAPSHOT

Each images from Kogito/SonataFlow also must have the platform version defined. See Data Index for example:

GECOS=JBoss user
HOME=/home/kogito
HOSTNAME=9c853adaa11a
JAVA_DATA_DIR=/deployments/data
JAVA_HOME=/usr/lib/jvm/jre
JAVA_VENDOR=openjdk
JAVA_VERSION=17
JBOSS_CONTAINER_JAVA_JVM_MODULE=/opt/jboss/container/java/jvm
JBOSS_CONTAINER_JAVA_PROXY_MODULE=/opt/jboss/container/java/proxy
JBOSS_CONTAINER_JAVA_RUN_MODULE=/opt/jboss/container/java/run
JBOSS_CONTAINER_OPENJDK_JRE_MODULE=/opt/jboss/container/openjdk/jre
JBOSS_CONTAINER_UTIL_LOGGING_MODULE=/opt/jboss/container/util/logging/
JBOSS_IMAGE_NAME=ubi8/openjdk-17-runtime
JBOSS_IMAGE_VERSION=1.20
KOGITO_DATA_INDEX_QUARKUS_PROFILE=http-events-support
KOGITO_HOME=/home/kogito
LANG=C.utf8
PATH=/home/kogito/.local/bin:/home/kogito/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/home/kogito
SHLVL=1
TERM=xterm
UID=185
USER=kogito
USER_ID=1001
_=/usr/bin/env
container=oci
@ricardozanini ricardozanini self-assigned this Nov 18, 2024
@tiagobento tiagobento changed the title Remove hardcoded version in Operator/CLI artifacts Remove hardcoded version in SonataFlow Operator/CLI artifacts Nov 18, 2024
@ricardozanini ricardozanini changed the title Remove hardcoded version in SonataFlow Operator/CLI artifacts [sonataflow-operator] Remove hardcoded version in SonataFlow Operator/CLI artifacts Dec 5, 2024
ricardozanini added a commit to ricardozanini/kogito-tooling that referenced this issue Dec 6, 2024
…utomatic change of platform images based on env context

Signed-off-by: Ricardo Zanini <[email protected]>
ricardozanini added a commit to ricardozanini/kogito-tooling that referenced this issue Dec 18, 2024
…utomatic change of platform images based on env context

Signed-off-by: Ricardo Zanini <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant