Skip to content

Override default build_root_image to use Go 1.21: release-4.14#290

Closed
danchild wants to merge 1 commit into
openshift:release-4.14from
shiftstack:override-build-image-4.14
Closed

Override default build_root_image to use Go 1.21: release-4.14#290
danchild wants to merge 1 commit into
openshift:release-4.14from
shiftstack:override-build-image-4.14

Conversation

@danchild

@danchild danchild commented Jul 13, 2026

Copy link
Copy Markdown
Member

This is an extension of of work in #274 and #281

OpenShift CI isn't picking up
the rhel-9-release-golang-1.23-openshift-4.16 configuration.
So, the build stage is still using go 1.20 which results in the
same error.

The .ci-operator.yaml override works as expected in previous
releases (e.g., release-4.18), so it is possible that OCP
CI is refusing to use the 4.16 tag as @mandre predicted in
#281.

The patch version specifier in go.mod was introduced in go 1.21 and OTE build
has been woking with 1.21 in the Containerfile; so, the
rhel-9-release-golang-1.21-openshift-4.14 tag is selected
here to build the OTE with a go.mod reference to 1.23.0 ( as opposed to go 1.23)
and use correct OpenShift release tags.

This serves as a workaround which is likely easier to accomplish
the goals of the OTE migration as opposed to downgrading
openshift-test-ext to an earlier version.

As a continuation of openshift#282, OpenShift CI isn't picking up
the `rhel-9-release-golang-1.23-openshift-4.16` configuration.
So, the build stage is still using go 1.20 which results in the
same error.

The .ci-operator.yaml override works as expected in previous
releases (e.g., release-4.18), so it is possible that OCP
CI is refusing to use the 4.16 tag.

The patch version in go.mod was introduced in go v1.21 and OTE build
has been woking with 1.21 in the Containerfile; so, the
`rhel-9-release-golang-1.21-openshift-4.14` tag is selected
here to build the OTE binary whose go.mod references a go version
with a patch number (e.g. go 1.23.0 as opposed to go 1.23) and use
correct openshift release tags.

This serves as a workaround which is likely easier to accomplish
the goals of the OTE migration as opposed to downgrading
openshift-test-ext to an earlier version.

Signed-off-by: Dan Childers <dchilder@redhat.com>
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 13, 2026
@openshift-ci

openshift-ci Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci

openshift-ci Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

@danchild danchild marked this pull request as ready for review July 13, 2026 18:53
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 13, 2026
@openshift-ci openshift-ci Bot requested review from eurijon and mdbooth July 13, 2026 18:54
@danchild

Copy link
Copy Markdown
Member Author

/verified by @danchild

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jul 13, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@danchild: This PR has been marked as verified by @danchild.

Details

In response to this:

/verified by @danchild

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 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

@danchild: all tests passed!

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.

@danchild danchild closed this Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants