build: Switch operator-bundle build from Go 1.21 to 1.22#12687
build: Switch operator-bundle build from Go 1.21 to 1.22#12687
Conversation
|
Skipping CI for Draft Pull Request. |
|
Images are ready for the commit at 6a0b2a2. To use with deploy scripts, first |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #12687 +/- ##
==========================================
- Coverage 48.19% 48.17% -0.02%
==========================================
Files 2434 2434
Lines 173898 174117 +219
==========================================
+ Hits 83802 83879 +77
- Misses 83340 83464 +124
- Partials 6756 6774 +18
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
/retest operator-bundle-build |
This comment was marked as outdated.
This comment was marked as outdated.
to fix CI failures.
3353781 to
e0e006a
Compare
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com> To see if build completes successfully with new references. Cherry-picked from #12684
e0e006a to
6a0b2a2
Compare
|
/retest main-build |
This comment was marked as outdated.
This comment was marked as outdated.
|
/test ocp-4-12-nongroovy-e2e-tests |
|
/test main-build |
This comment was marked as outdated.
This comment was marked as outdated.
|
@msugakov: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
Description
This should fix build failure seen in #12684 / https://console.redhat.com/application-pipeline/workspaces/rh-acs/applications/acs/pipelineruns/operator-bundle-build-d8jck
The reason is that ubi9 has only Go 1.21.11 and so we need to use
openshift-golang-builderinstead.Once switched to
openshift-golang-builder, there are new build failures with messages like (pipeline)I haven't found many external references but something hinted that we may have
-mod=vendorset for Go. This proved to be the case foropenshift-golang-builder:Doc reference: https://go.dev/ref/mod#build-commands
Apparently, this isn't specific to
rhel_9_1.22, it was also inrhel_8_1.21. Why it did not cause problems in other builds - I don't know. Supposedly, the way we install tools is a bit special.This may or may not require adjustments to #12651, but I tried running my change with prefetch, and no
go: downloading ...lines were printed which suggests it should be fine.User-facing documentation
Testing and quality
Automated testing
No change to automated testing.
How I validated my change
Only CI.