-
Notifications
You must be signed in to change notification settings - Fork 641
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
Migrate from godep to modules and bump versions #287
Conversation
Still work in progress. |
2254493
to
9f18836
Compare
2ff5745
to
97c5a4a
Compare
This is ready for review. |
/retest pull-npd-test |
/cc @xueweiz |
@wangzhen127: GitHub didn't allow me to request PR reviews from the following users: xueweiz. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
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. |
/test pull-npd-test |
Makefile
Outdated
@@ -69,7 +69,7 @@ ifeq ($(ENABLE_JOURNALD), 1) | |||
endif | |||
|
|||
vet: | |||
go list ./... | grep -v "./vendor/*" | xargs go vet $(BUILD_TAGS) | |||
GO111MODULE=off go list ./... | grep -v "./vendor/*" | GO111MODULE=off xargs go vet $(BUILD_TAGS) |
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.
Why is this off
?
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.
Updated
/retest |
Note that I didn't bump versions of the following:
I tried to bump their versions to latest. But it seems that |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyxning, wangzhen127 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 |
/test pull-npd-test |
Seems flakes. |
This PR migrates the dependency management system from godep to modules and bumps the package versions.
Kubernetes is now using modules. See this k8s KEP. NPD is still using vendoring with modules.
The side effect of using golang modules is that it requires go 1.11+ to build node-problem-detector afterwards.