Skip to content

chore(scripts): add dual RHEL9/RHEL10 hub image support (RHIDP-14884) - #5262

Open
polasudo wants to merge 4 commits into
redhat-developer:mainfrom
polasudo:feature/RHIDP-14884
Open

chore(scripts): add dual RHEL9/RHEL10 hub image support (RHIDP-14884)#5262
polasudo wants to merge 4 commits into
redhat-developer:mainfrom
polasudo:feature/RHIDP-14884

Conversation

@polasudo

@polasudo polasudo commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Depends on

Jira

Test plan

  • ./e2e-tests/local-run.sh --help shows rhel10 examples
  • Maintenance branch jobs still resolve rhdh-hub-rhel9
  • Rebased on latest main (Aug 25, 2026)

@openshift-ci
openshift-ci Bot requested review from PatAKnight and josephca August 17, 2026 11:49
@polasudo
polasudo marked this pull request as draft August 17, 2026 13:55
@polasudo
polasudo force-pushed the feature/RHIDP-14884 branch 2 times, most recently from e1221d1 to ecf6070 Compare August 18, 2026 08:36
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.69%. Comparing base (2c75ce0) to head (292d427).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5262      +/-   ##
==========================================
- Coverage   63.68%   59.69%   -3.99%     
==========================================
  Files         121      109      -12     
  Lines        2288     2062     -226     
  Branches      503      477      -26     
==========================================
- Hits         1457     1231     -226     
  Misses        830      830              
  Partials        1        1              
Flag Coverage Δ
rhdh 59.69% <ø> (-3.99%) ⬇️
Components Coverage Δ
Backend plugins ∅ <ø> (∅)
Backend app 69.69% <ø> (ø)
Frontend app 58.82% <ø> (ø)
Plugin utils ∅ <ø> (∅)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2c75ce0...292d427. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

@github-actions

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

@github-actions

Copy link
Copy Markdown
Contributor

The container image build workflow finished with status: cancelled.

@github-actions

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

polasudo and others added 3 commits August 27, 2026 14:58
Move Konflux hub builds from ubi9/nodejs-24 to ubi10/nodejs-24 (+ minimal
runner), refresh rpms.lock.yaml for UBI10 repos, and switch techdocs Python
to 3.12.

RPM notes for UBI10:
- Enable codeready-builder repos (python3-setuptools-wheel moved there).
- Drop el9-only packages not published on UBI10 CDN: libdb, libsigsegv,
  pcre (keep pcre2), libreport-filesystem, yajl, slirp4netns,
  python3-chardet, python3-pysocks.
- Drop nodejs:24 module stream (not used on UBI10 nodejs-24 image).

Co-authored-by: Cursor <cursoragent@cursor.com>
Expose rhdh-hub-rhel10 in local-run, nightly triggers, and upgrade jobs
while keeping rhel9 defaults for maintenance release branches.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@polasudo
polasudo force-pushed the feature/RHIDP-14884 branch from fa04e56 to 79cdf98 Compare August 27, 2026 12:59
@github-actions

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

# Maintenance branches (release-1.x) use RHEL 9 images; main / 2.y streams use RHEL 10.
common::default_hub_image_repo() {
local branch="${RELEASE_BRANCH_NAME:-main}"
if [[ "$branch" == release-* ]]; then

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.

Suggested change
if [[ "$branch" == release-* ]]; then
if [[ "$branch" == release-1.* ]]; then

}

# Default downstream hub image repository for the current release branch.
# Maintenance branches (release-1.x) use RHEL 9 images; main / 2.y streams use RHEL 10.

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.

Suggested change
# Maintenance branches (release-1.x) use RHEL 9 images; main / 2.y streams use RHEL 10.
# Maintenance branches (release-1.x) use RHEL 9 images; main / 2.y streams use RHEL 10.
# Remove this if/else and only use RHEL10 once we have EOL'd RHDH 1.10 (after 2.2 is live, or after all the SUPPORTEX tickets expire)

Comment thread e2e-tests/README.md
| ------ | ---------------------- | ------------------------------------ |
| 1 | `rhdh-community/rhdh` | Community image (default) |
| 2 | `rhdh/rhdh-hub-rhel10` | Red Hat RHEL 10 image (`main` / 2.y) |
| 3 | `rhdh/rhdh-hub-rhel9` | Red Hat RHEL 9 image (maintenance) |

@nickboldt nickboldt Sep 1, 2026

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.

Suggested change
| 3 | `rhdh/rhdh-hub-rhel9` | Red Hat RHEL 9 image (maintenance) |
| 3 | `rhdh/rhdh-hub-rhel9` | Red Hat RHEL 9 image (1.y only) |

@sonarqubecloud

sonarqubecloud Bot commented Sep 1, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

@openshift-ci

openshift-ci Bot commented Sep 1, 2026

Copy link
Copy Markdown

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants