Conversation
|
Hi @erpel. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
|
/ok-to-test |
| go 1.23.0 | ||
|
|
||
| toolchain go1.23.4 | ||
| go 1.24.0 |
There was a problem hiding this comment.
This should require a Dockerfile update https://github.com/openshift/eventrouter/blob/master/Dockerfile#L1 and I am uncertain if our product tooling has this image available. cc @xperimental
There was a problem hiding this comment.
Pushed with updated builder image, but had to do this blindly as that registry is not browsable for me.
If 1.24 is absolutely not available, I could try to update deps to versions that work with 1.23 but getting it to work with 1.24 seems better for the long term.
There was a problem hiding this comment.
@jcantrill I could change the builder image to a plain upstream FROM golang AS builder - it does build without issue in our pipelines.
Would that be an option?
There was a problem hiding this comment.
This PR will not pass until openshift/release#70571 merges
There was a problem hiding this comment.
I think the question about availability of a Go 1.24 image is solved already, but I had a comment on another part of the PR.
Unable to verify that the image exists, so just trying it.
Dockerfile
Outdated
| @@ -1,4 +1,4 @@ | |||
| FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23-openshift-4.19 AS builder | |||
| FROM golang AS builder | |||
There was a problem hiding this comment.
registry.access.redhat.com/ubi9/go-toolset:9.6
There was a problem hiding this comment.
IMO we should be using public images in the open-source Dockerfiles, so I think it's fine to switch to the "upstream Go image". We can choose to build with a different image in the CI, but having the public image in the public Dockerfiles makes it much easier for the public to build the software / contribute fixes.
I would pin the image to a specific Go version though, to have an indication of what we expect to build with. In this case this would be the latest 1.24:
| FROM golang AS builder | |
| FROM docker.io/library/golang:1.24.9 AS builder |
There was a problem hiding this comment.
The image I suggested is publicly available. If we wish to use the "library" version then we will need to make an additional change to the openshift CI to substitute it correctly
There was a problem hiding this comment.
I wasn't sure if that image is available without authentication. But if it is, then that's also a possibilty. I think I would use the Go version as tag though and not the RHEL version.
|
/retest |
|
/hold |
|
Adding hold pending our 6.4 release to reduce churn |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: erpel, jcantrill The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
New changes are detected. LGTM label has been removed. |
Hi @jcantrill does this refer to OpenShift Logging? Since this was released earlier in November, does this mean this can go forward now? |
|
Hey folks, |
|
@erpel: all tests passed! 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. |
Just trying to keep dependencies updated to keep CVE scanners quiet.