Skip to content

[9.106.x-prod] SRVLOGIC-1153 | Add missing install.js to sonataflow-management-console-image so image e2e finds the built image - #468

Merged
jankrystof-ibm merged 1 commit into
9.106.x-prodfrom
SRVLOGIC-1153__address_ci-failing-on-non-main-pr__2
Aug 31, 2026
Merged

jankrystof-ibm merged 1 commit into
9.106.x-prodfrom
SRVLOGIC-1153__address_ci-failing-on-non-main-pr__2

Conversation

@jankrystof-ibm

Copy link
Copy Markdown

https://redhat.atlassian.net/browse/SRVLOGIC-1153

Adds the missing install.js to sonataflow-management-console-image so its CEKit image descriptor version is bumped to the build tag (streamName) at install time, mirroring the sibling image packages (devmode/builder/osl-management-console).

Background: management-console-image was the only sibling image package without an install.js, so its descriptor version stayed at "main". On a release branch the image is built and tagged as ...:1.39.0, but cekit test behave resolves the tested image from the descriptor version ("main"), which does not exist, causing docker.errors.ImageNotFound ...:main and a full image-e2e failure. Adding install.js (delegating to @kie/kogito-images-install-helper) makes versions_manager.py --bump-to set the descriptor version dynamically, so the test finds the built image. On main the buildTag is "main" so the bump is a no-op.

run standard e2e

…le-image so its descriptor version is bumped to the build tag
@jankrystof-ibm
jankrystof-ibm force-pushed the SRVLOGIC-1153__address_ci-failing-on-non-main-pr__2 branch from 7a7d196 to 379fb78 Compare August 28, 2026 12:40
@jankrystof-ibm

Copy link
Copy Markdown
Author

Waiting on check results

@jankrystof-ibm

Copy link
Copy Markdown
Author

So this fix is working

https://github.com/kubesmarts/kie-tools/actions/runs/33172081863/job/98851507930?pr=468

2026-08-28T12:57:08.3450921Z cekit --descriptor incubator-kie-sonataflow-management-console-image.yaml build  docker --no-squash --tag quay.io/kubesmarts/incubator-kie-sonataflow-management-console:1.39.0
2026-08-28T12:57:08.5305459Z �[33m2026-08-28 12:57:08,529 tools.py:482        WARNING You are running CEKit on an untested platform: Ubuntu 24.04.4 LTS (Noble Numbat). External dependencies suggestions will not work!�[0m
2026-08-28T12:57:08.5309292Z �[33m2026-08-28 12:57:08,530 tools.py:647        WARNING The certifi library (https://certifi.io/) was found, depending on the operating system configuration this may result in certificate validation issues. �[0m
2026-08-28T12:57:08.5313282Z �[33m2026-08-28 12:57:08,530 tools.py:651        WARNING You can use REQUESTS_CA_BUNDLE environment variable to point to a different certificate bundle if using the certifi provided bundle doesn't work.�[0m
2026-08-28T12:57:08.5316696Z �[33m2026-08-28 12:57:08,530 tools.py:655        WARNING Certificate Authority (CA) bundle in use: '/home/runner/work/kie-tools/kie-tools/packages/python-venv/venv/lib/python3.12/site-packages/certifi/cacert.pem'�[0m
2026-08-28T12:57:08.5973376Z �[32m2026-08-28 12:57:08,596 builder.py:95         INFO  Generating files for docker engine�[0m
2026-08-28T12:57:08.5975129Z �[32m2026-08-28 12:57:08,597 base.py:117        INFO  Initializing image descriptor...�[0m

...


2026-08-28T12:57:39.0355082Z �[32m2026-08-28 12:57:39,035 docker_builder.py:108        INFO  Docker: ---> a316f4db4aac�[0m
2026-08-28T12:57:39.0574743Z �[32m2026-08-28 12:57:39,057 docker_builder.py:108        INFO  Docker: Successfully built a316f4db4aac�[0m
2026-08-28T12:57:39.0623305Z �[32m2026-08-28 12:57:39,061 docker_builder.py:270        INFO  Image ID a316f4db4aac built and available under following tags: quay.io/kubesmarts/incubator-kie-sonataflow-management-console:1.39.0�[0m

@jankrystof-ibm

Copy link
Copy Markdown
Author

The failing CI

is connected to the same core-vs-platform Quarkus mismarch (QUARKUS_VERSION is set to the platform SP2 version instead of the core version).

...and looks like its is being solved in #466

CI :: Image E2E Tests / run (sonataflow-builder-image

is affected by incorrect quarkus version

[ERROR] Failed to execute goal com.redhat.quarkus.platform:quarkus-maven-plugin:3.33.2.SP2-redhat-00002:go-offline ...
  1) Failed to resolve artifact io.quarkus:quarkus-jdbc-postgresql:jar:3.33.2.SP2-redhat-00002
  2) Failed to resolve artifact io.quarkus:quarkus-jdbc-postgresql-deployment:jar:3.33.2.SP2-redhat-00002

CI :: Build - Full"

same root cause as builder e2e. It builds all images, including sonataflow-builder-image, which fails with:

"CI :: Build - Full" — potvrzeno, stejná příčina jako builder e2e. Staví všechny image včetně sonataflow-builder-image, který spadne na:
[ERROR] Failed to resolve artifact io.quarkus:quarkus-jdbc-postgresql:jar:3.33.2.SP2-redhat-00002
[ERROR] Failed to resolve artifact io.quarkus:quarkus-jdbc-postgresql-deployment:jar:3.33.2.SP2-redhat-00002

@domhanak domhanak changed the title SRVLOGIC-1153 | Add missing install.js to sonataflow-management-console-image so image e2e finds the built image [9.106.x-prod] SRVLOGIC-1153 | Add missing install.js to sonataflow-management-console-image so image e2e finds the built image Aug 31, 2026

@fantonangeli fantonangeli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@baldimir baldimir left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. Let's wait for Fabrizio's review.

(Edit: I see he approved at the same time as me :))

@jankrystof-ibm
jankrystof-ibm merged commit 30393e0 into 9.106.x-prod Aug 31, 2026
14 of 18 checks passed
@jankrystof-ibm
jankrystof-ibm deleted the SRVLOGIC-1153__address_ci-failing-on-non-main-pr__2 branch September 2, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants