Skip to content

JKNS-1079: Update release-rhel8 and release-rhel9 CI config to use OCP 5.0 base image#80801

Open
kunalmemane wants to merge 1 commit into
openshift:mainfrom
kunalmemane:update-jenkins-ci-image
Open

JKNS-1079: Update release-rhel8 and release-rhel9 CI config to use OCP 5.0 base image#80801
kunalmemane wants to merge 1 commit into
openshift:mainfrom
kunalmemane:update-jenkins-ci-image

Conversation

@kunalmemane

@kunalmemane kunalmemane commented Jun 19, 2026

Copy link
Copy Markdown
Member

The ocp/4.18 base image does not have java-25-openjdk packages available, causing the jenkins and jenkins-agent-base image builds to fail. Bump to ocp/5.0 to match the master branch CI config.

Summary by CodeRabbit

This PR updates the OpenShift Jenkins CI configuration for the RHEL8 and RHEL9 release branches to use OCP 5.0 base images instead of OCP 4.18.

The changes affect two CI operator configuration files:

  • ci-operator/config/openshift/jenkins/openshift-jenkins-release-rhel8.yaml
  • ci-operator/config/openshift/jenkins/openshift-jenkins-release-rhel9.yaml

In each file, the base image version is updated from "4.18" to "5.0":

  • The base_images.base.name field is updated to reference OCP 5.0
  • The releases.initial.integration.name is updated to "5.0"
  • The releases.latest.integration.name is updated to "5.0"

This change addresses a dependency issue where the OCP 4.18 base image lacks the necessary java-25-openjdk packages required for successful builds of the Jenkins and Jenkins agent base container images. Aligning these release branch configurations with OCP 5.0 ensures the build dependencies are available while bringing consistency with the master branch CI configuration that already uses OCP 5.0.

…image

The ocp/4.18 base image does not have java-25-openjdk packages available, causing
the jenkins and jenkins-agent-base image builds to fail. Bump to ocp/5.0 to match
the master branch CI config.

Signed-off-by: Kunal Memane <kmemane@redhat.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 19, 2026
@openshift-ci-robot

openshift-ci-robot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

@kunalmemane: This pull request references JKNS-1079 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set.

Details

In response to this:

The ocp/4.18 base image does not have java-25-openjdk packages available, causing the jenkins and jenkins-agent-base image builds to fail. Bump to ocp/5.0 to match the master branch CI config.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci Bot requested review from jkhelil and prdhamdh June 19, 2026 19:23
@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 1f97abfd-ac71-4588-b5be-e5d2556de8c8

📥 Commits

Reviewing files that changed from the base of the PR and between 3736154 and fac3488.

📒 Files selected for processing (2)
  • ci-operator/config/openshift/jenkins/openshift-jenkins-release-rhel8.yaml
  • ci-operator/config/openshift/jenkins/openshift-jenkins-release-rhel9.yaml

Walkthrough

Two CI operator configuration files for OpenShift Jenkins (RHEL8 and RHEL9 variants) are updated to replace the version string "4.18" with "5.0" in the base_images.base.name field and in both releases.initial.integration.name and releases.latest.integration.name fields.

Changes

Jenkins CI Config OCP Version Bump

Layer / File(s) Summary
RHEL8 and RHEL9 config version bump to 5.0
ci-operator/config/openshift/jenkins/openshift-jenkins-release-rhel8.yaml, ci-operator/config/openshift/jenkins/openshift-jenkins-release-rhel9.yaml
base_images.base.name and both releases.initial.integration.name and releases.latest.integration.name are changed from "4.18" to "5.0" in each file; all other fields (namespace: ocp, include_built_images: true) are preserved.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately summarizes the main change: updating Jenkins OpenShift release configurations for RHEL8 and RHEL9 to use OCP 5.0 base image instead of 4.18.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed PR modifies only YAML CI configuration files for OpenShift Jenkins release builds, not Ginkgo test code. The custom check applies only to Ginkgo test names in test code, which are not present in th...
Test Structure And Quality ✅ Passed This PR modifies only YAML CI configuration files, not Ginkgo test code. The custom check for test structure and quality is not applicable to YAML configuration changes.
Microshift Test Compatibility ✅ Passed PR modifies only CI configuration YAML files, not Ginkgo e2e tests. The MicroShift Test Compatibility check applies to e2e tests, not CI configuration changes.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This PR updates CI configuration files (YAML) to bump base image versions from 4.18 to 5.0. No new Ginkgo e2e tests are added, so SNO compatibility check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies CI-operator configuration files only, not deployment manifests, operator code, or controllers. No scheduling constraints introduced.
Ote Binary Stdout Contract ✅ Passed This PR modifies only YAML CI configuration files (version bumps from 4.18 to 5.0), not code. The OTE Binary Stdout Contract check applies to code-level stdout violations and is inapplicable to con...
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No Ginkgo e2e tests were added in this PR. Changes are limited to YAML CI configuration files for Jenkins release pipelines updating base image versions from 4.18 to 5.0.
No-Weak-Crypto ✅ Passed PR modifies only YAML CI configuration files with version number changes (4.18→5.0). No cryptographic code, weak algorithms (MD5/SHA1/DES/RC4/3DES/Blowfish/ECB), or custom crypto implementations pr...
Container-Privileges ✅ Passed Files are CI-Operator configs that update base image versions from 4.18 to 5.0. No container security issues (privileged, hostNetwork, hostPID, SYS_ADMIN, etc.) found.
No-Sensitive-Data-In-Logs ✅ Passed The modified YAML configuration files contain no logging statements and no sensitive data (passwords, tokens, APIs, PII, sessions, hostnames, or customer data). Changes are simple version bumps fro...

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci

openshift-ci Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: kunalmemane
Once this PR has been reviewed and has the lgtm label, please assign jkhelil for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kunalmemane

Copy link
Copy Markdown
Member Author

/pj-rehearse more

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@kunalmemane: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@kunalmemane: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openshift-jenkins-release-rhel8-e2e-aws openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel8-e2e-aws-jenkins-client-plugin openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel8-e2e-aws-jenkins-sync-plugin openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel8-e2e-jenkins-image-tests openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel8-images openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel8-jenkins-check-plugins-supply-chain-change openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel8-security openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel9-e2e-aws openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel9-e2e-aws-jenkins-client-plugin openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel9-e2e-aws-jenkins-sync-plugin openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel9-e2e-jenkins-image-tests openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel9-images openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel9-jenkins-check-plugins-supply-chain-change openshift/jenkins presubmit Ci-operator config changed
pull-ci-openshift-jenkins-release-rhel9-security openshift/jenkins presubmit Ci-operator config changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@kunalmemane

Copy link
Copy Markdown
Member Author

/pj-rehearse

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@kunalmemane: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci

openshift-ci Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

@kunalmemane: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/rehearse/openshift/jenkins/release-rhel9/images fac3488 link unknown /pj-rehearse pull-ci-openshift-jenkins-release-rhel9-images
ci/rehearse/openshift/jenkins/release-rhel9/e2e-aws fac3488 link unknown /pj-rehearse pull-ci-openshift-jenkins-release-rhel9-e2e-aws
ci/rehearse/openshift/jenkins/release-rhel9/e2e-aws-jenkins-sync-plugin fac3488 link unknown /pj-rehearse pull-ci-openshift-jenkins-release-rhel9-e2e-aws-jenkins-sync-plugin
ci/rehearse/openshift/jenkins/release-rhel9/e2e-aws-jenkins-client-plugin fac3488 link unknown /pj-rehearse pull-ci-openshift-jenkins-release-rhel9-e2e-aws-jenkins-client-plugin
ci/rehearse/openshift/jenkins/release-rhel8/e2e-aws-jenkins-client-plugin fac3488 link unknown /pj-rehearse pull-ci-openshift-jenkins-release-rhel8-e2e-aws-jenkins-client-plugin
ci/rehearse/openshift/jenkins/release-rhel8/security fac3488 link unknown /pj-rehearse pull-ci-openshift-jenkins-release-rhel8-security
ci/rehearse/openshift/jenkins/release-rhel8/images fac3488 link unknown /pj-rehearse pull-ci-openshift-jenkins-release-rhel8-images
ci/rehearse/openshift/jenkins/release-rhel8/e2e-aws-jenkins-sync-plugin fac3488 link unknown /pj-rehearse pull-ci-openshift-jenkins-release-rhel8-e2e-aws-jenkins-sync-plugin
ci/rehearse/openshift/jenkins/release-rhel8/e2e-aws fac3488 link unknown /pj-rehearse pull-ci-openshift-jenkins-release-rhel8-e2e-aws

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

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

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants