-
Notifications
You must be signed in to change notification settings - Fork 443
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
Bump up the Go version to 1.14.2 at Travis CI #1132
Conversation
Hi @c-bata. Thanks for your PR. I'm waiting for a kubeflow 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. 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. |
/ok-to-test |
pkg/apis/manager/v1alpha3/api.pb.go
Outdated
func (*ValidateAlgorithmSettingsReply) ProtoMessage() {} | ||
func (*ValidateAlgorithmSettingsReply) Descriptor() ([]byte, []int) { | ||
return fileDescriptor0, []int{28} | ||
} |
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.
I am not sure that we can edit these lines, since this file is auto generated by this script: https://github.com/kubeflow/katib/blob/master/pkg/apis/manager/v1alpha3/build.sh.
Is it possible to increase lines width for go fmt to avoid this error? In 1.12.5
version we didn't receive fmt error on these lines.
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.
Oh, you are absolutely right.
+1 to ignore fmt error for these generated files.
eb9bf3f
to
4bb2570
Compare
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.
/lgtm
/cc @gaocegege @johnugeorge
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johnugeorge 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 |
What this PR does / why we need it:
In the PR #1131, I added
gonum
as a dependency. Then CI fails atgo vet ./pkg/...
because it raises syntax error at the following line:katib/vendor/gonum.org/v1/gonum/lapack/gonum/lapack.go
Line 39 in 71a59ff
It seems that the above line uses the syntax added from Go 1.13. See this commit for details.
I checked Dockerfiles under
cmd/
directory but all go versions aren't fixed. So I guess we can bump up the Go version to 1.14.2 which is the latest version.katib/cmd/db-manager/v1alpha3/Dockerfile
Line 1 in 4fbf77d
katib/cmd/katib-controller/v1alpha3/Dockerfile
Line 2 in 61e5188
katib/cmd/metricscollector/v1alpha3/file-metricscollector/Dockerfile
Line 2 in c18bab6
katib/cmd/ui/v1alpha3/Dockerfile
Line 8 in 4057a58
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):None
Special notes for your reviewer:
None
Release note: