-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Update golang to 1.19.2 #8622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update golang to 1.19.2 #8622
Conversation
c285584
to
b3ff455
Compare
5ee2fa1
to
daefccb
Compare
daefccb
to
b14bea6
Compare
/retest |
@@ -207,4 +207,4 @@ replace ( | |||
sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.6.2 | |||
) | |||
|
|||
go 1.17 | |||
go 1.19 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bazel will still use 1.17. You have to update the WORKSPACE dependencies (rules_go and gazelle) and bump the golang version: https://github.com/bazelbuild/bazel-gazelle#running-gazelle-with-bazel.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, thank you, I knew it couldn't be that easy, working on it now!
Could you share the issue it produces? Maybe that is because bazel was not updated to 1.19? |
/hold bazel is not bumpte to 1.19 |
|
/cc |
@jean-edouard pushed the necessary bazel changes to your branch. I think we need to bump the builder image once more. |
Wow, thank you so much! I'll take care of the bump asap today |
WORKSPACE
Outdated
@@ -4,6 +4,8 @@ load("//third_party:deps.bzl", "deps") | |||
|
|||
deps() | |||
|
|||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, that one is not needed. An oversight on my part. It is imported below already.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rmohr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
5684dc8
to
78f718e
Compare
/lgtm |
Signed-off-by: Jed Lejosne <jed@redhat.com>
Signed-off-by: Jed Lejosne <jed@redhat.com>
Signed-off-by: Roman Mohr <rmohr@google.com>
Signed-off-by: Roman Mohr <rmohr@google.com>
Signed-off-by: Roman Mohr <rmohr@google.com>
Signed-off-by: Roman Mohr <rmohr@google.com>
Signed-off-by: Roman Mohr <rmohr@google.com>
Signed-off-by: Jed Lejosne <jed@redhat.com>
rules_go finally supports lcov integration, but we still need the legacy coverage format for goveralls integration. Requesting it explicitly. Signed-off-by: Roman Mohr <rmohr@google.com>
78f718e
to
3e87375
Compare
/lgtm |
/retest |
@jean-edouard: The following test failed, say
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/test-infra repository. I understand the commands that are listed here. |
What this PR does / why we need it:
This PR update the go compiler from version 1.17 to the latest 1.19 release.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Using
io/ioutil
now breaks the linter, so I replaced all uses of it with functions fromio
/os
Release note: