Skip to content

RHOAIENG-63787: Update Openshift CI to use new Go version#79993

Open
CiaraM100104 wants to merge 1 commit into
openshift:mainfrom
CiaraM100104:RHOAIENG-63787
Open

RHOAIENG-63787: Update Openshift CI to use new Go version#79993
CiaraM100104 wants to merge 1 commit into
openshift:mainfrom
CiaraM100104:RHOAIENG-63787

Conversation

@CiaraM100104
Copy link
Copy Markdown

@CiaraM100104 CiaraM100104 commented Jun 2, 2026

Updating Golang to version 1.26
JIRA: https://redhat.atlassian.net/browse/RHOAIENG-63787

Summary by CodeRabbit

This PR updates the OpenShift CI configuration for the opendatahub-io/opendatahub-operator repository in openshift/release. It bumps the CI build/toolchain from Go 1.25 to Go 1.26 by changing build_root.image_stream_tag.tag in ci-operator/config/opendatahub-io/opendatahub-operator/opendatahub-io-opendatahub-operator-main.yaml from rhel-9-golang-1.25-openshift-4.21 to rhel-9-golang-1.26-openshift-5.0. No other job steps, test definitions, or logic were modified.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 2, 2026

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: 483bbb82-a02e-4b98-8e9a-48178eae4600

📥 Commits

Reviewing files that changed from the base of the PR and between 08e1059 and 8b369b2.

📒 Files selected for processing (1)
  • ci-operator/config/opendatahub-io/opendatahub-operator/opendatahub-io-opendatahub-operator-main.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • ci-operator/config/opendatahub-io/opendatahub-operator/opendatahub-io-opendatahub-operator-main.yaml

Walkthrough

This PR updates the opendatahub-operator CI config to use rhel-9-golang-1.26-openshift-5.0 as the build_root.image_stream_tag.tag instead of rhel-9-golang-1.25-openshift-4.21.

Changes

Build Environment Configuration

Layer / File(s) Summary
OpenShift CI build root image tag
ci-operator/config/opendatahub-io/opendatahub-operator/opendatahub-io-opendatahub-operator-main.yaml
build_root.image_stream_tag.tag updated from rhel-9-golang-1.25-openshift-4.21 to rhel-9-golang-1.26-openshift-5.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • openshift/release#79899: Concurrent update of the Konflux/CI build environment image stream tag to the 1.26/OCP 5.0 builder.
  • openshift/release#79717: Bumps the same builder image stream tag from rhel-9-golang-1.25-openshift-4.21 to rhel-9-golang-1.26-openshift-5.0.
  • openshift/release#79754: Same single-line update to build_root.image_stream_tag.tag (Go/OpenShift version bump).

Suggested labels

lgtm, approved, rehearsals-ack

🚥 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 'RHOAIENG-63787: Update Openshift CI to use new Go version' directly and clearly summarizes the main change—updating the Go version in the OpenShift CI configuration from 1.25 to 1.26.
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 CI configuration (YAML) file with no Ginkgo test code changes; check for test name stability is not applicable.
Test Structure And Quality ✅ Passed PR adds CI/CD configuration files for OpenShift, primarily updating Go version from 1.25 to 1.26. No Ginkgo test code is present in the PR; check is not applicable.
Microshift Test Compatibility ✅ Passed No new Ginkgo e2e tests added in this PR. The change only updates Go version from 1.25 to 1.26 in CI configuration.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only updates CI build image tag from Go 1.25 to 1.26; no new Ginkgo e2e tests are added, so SNO compatibility check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed This PR modifies only a CI build configuration (Go toolchain version bump), not deployment manifests, operator code, or controllers. No scheduling constraints are introduced.
Ote Binary Stdout Contract ✅ Passed PR modifies only CI config files, changing Go build image tag. No source code or test binary changes that could violate OTE stdout contract.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No new Ginkgo e2e tests are added in this PR. The change only updates the CI build image tag from Go 1.25 to Go 1.26 in a YAML configuration file, with no test code modifications.
No-Weak-Crypto ✅ Passed The PR only changes a CI config YAML file updating the Go build image tag from 1.25 to 1.26. No cryptographic algorithms, implementations, or secret comparisons are present in the file.
Container-Privileges ✅ Passed The PR changes only a CI configuration file updating a build image tag. The file contains no K8s container manifests or security context configurations checked by the container-privileges rule.
No-Sensitive-Data-In-Logs ✅ Passed PR contains only a simple Go version tag update in CI config with no new logging code or sensitive data exposure.

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

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

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 2, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: CiaraM100104
Once this PR has been reviewed and has the lgtm label, please assign marianmacik 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

@openshift-ci openshift-ci Bot requested review from MarianMacik and den-rgb June 2, 2026 17:41
@jeffdyoung
Copy link
Copy Markdown
Contributor

/pj-rehearse pull-ci-opendatahub-io-opendatahub-operator-main-images pull-ci-opendatahub-io-opendatahub-operator-main-opendatahub-operator-e2e pull-ci-opendatahub-io-opendatahub-operator-main-opendatahub-operator-rhoai-e2e

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

@CiaraM100104 CiaraM100104 changed the title Update Openshift CI to use new Go version RHOAIENG-63787: Update Openshift CI to use new Go version Jun 2, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

openshift-ci-robot commented Jun 2, 2026

@CiaraM100104: This pull request references RHOAIENG-63787 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:

Updating Golang to version 1.26

Summary by CodeRabbit

This PR updates the OpenShift CI build configuration for the opendatahub-operator repository to use Go 1.26 instead of Go 1.25. The change modifies the build_root.image_stream_tag.tag in the CI operator configuration from rhel-9-golang-1.25-openshift-4.21 to rhel-9-release-golang-1.26-openshift-5.0, which affects the container image used as the build environment for compiling and testing the opendatahub-operator. This is a standard version bump to keep the CI infrastructure aligned with the latest Go toolchain.

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-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 2, 2026
@jeffdyoung
Copy link
Copy Markdown
Contributor

/pj-rehearse pull-ci-opendatahub-io-opendatahub-operator-main-images pull-ci-opendatahub-io-opendatahub-operator-main-opendatahub-operator-e2e pull-ci-opendatahub-io-opendatahub-operator-main-opendatahub-operator-rhoai-e2e

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@jeffdyoung: 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]
@CiaraM100104: 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-opendatahub-io-opendatahub-operator-main-images opendatahub-io/opendatahub-operator presubmit Ci-operator config changed
pull-ci-opendatahub-io-opendatahub-operator-main-opendatahub-operator-e2e opendatahub-io/opendatahub-operator presubmit Ci-operator config changed
pull-ci-opendatahub-io-opendatahub-operator-main-opendatahub-operator-rhoai-e2e opendatahub-io/opendatahub-operator presubmit Ci-operator config changed
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.

@CiaraM100104
Copy link
Copy Markdown
Author

/pj-rehearse pull-ci-opendatahub-io-opendatahub-operator-main-images pull-ci-opendatahub-io-opendatahub-operator-main-opendatahub-operator-e2e pull-ci-opendatahub-io-opendatahub-operator-main-opendatahub-operator-rhoai-e2e

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

@CiaraM100104
Copy link
Copy Markdown
Author

/pj-rehearse pull-ci-opendatahub-io-opendatahub-operator-main-images pull-ci-opendatahub-io-opendatahub-operator-main-opendatahub-operator-e2e pull-ci-opendatahub-io-opendatahub-operator-main-opendatahub-operator-rhoai-e2e

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

name: builder
namespace: ocp
tag: rhel-9-golang-1.25-openshift-4.21
tag: rhel-9-golang-1.26-openshift-5.0
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.

Why openshift 5.0?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I believe that openshift 5.0 is the only tag that supports the 1.26 version of Go, if I'm not mistaken. I hadn't seen a tag with openshift-4.21 and golang 1.26

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 3, 2026

@CiaraM100104: 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/opendatahub-io/opendatahub-operator/main/opendatahub-operator-e2e 8b369b2 link unknown /pj-rehearse pull-ci-opendatahub-io-opendatahub-operator-main-opendatahub-operator-e2e
ci/rehearse/opendatahub-io/opendatahub-operator/main/opendatahub-operator-rhoai-e2e 8b369b2 link unknown /pj-rehearse pull-ci-opendatahub-io-opendatahub-operator-main-opendatahub-operator-rhoai-e2e

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.

4 participants