From 621d8295d4d40b378148bd1e9b1b118c81c3f476 Mon Sep 17 00:00:00 2001 From: Dan Childers Date: Mon, 13 Jul 2026 12:35:49 -0400 Subject: [PATCH] Override default build_root_image to use Go 1.21 As a continuation of #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. 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.15` 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 --- .ci-operator.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci-operator.yaml b/.ci-operator.yaml index 7223a1f4f..3ff58af45 100644 --- a/.ci-operator.yaml +++ b/.ci-operator.yaml @@ -1,4 +1,4 @@ build_root_image: name: release namespace: openshift - tag: rhel-9-release-golang-1.23-openshift-4.16 + tag: rhel-9-release-golang-1.21-openshift-4.15