-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Add go modules verification and update scripts #3995
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3995 +/- ##
==========================================
+ Coverage 47.27% 47.28% +0.01%
==========================================
Files 182 182
Lines 8400 8400
Branches 71 71
==========================================
+ Hits 3971 3972 +1
+ Misses 4184 4183 -1
Partials 245 245
Continue to review full report at Codecov.
|
/assign maciaszczykm floreks jeefy |
@eloyekunle we do not need vendor directory in the dashboard repo anymore as go mod allows us to drop it. During default |
84a2f61
to
064082b
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: eloyekunle The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@floreks I have deleted the |
Cleaning up |
@shu-mutou Go docs only describe one reason to keep vendor directory. That is if user would use older Go version or have disabled go mod feature. Otherwise there is no benefit of keeping it inside the repo. |
@floreks You mean we do not need to add |
@shu-mutou |
go mod tidy -v | ||
|
||
echo "vendor: running 'go mod vendor'" | ||
go mod vendor |
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.
This is not needed as it would create a local vendor dir.
@eloyekunle those vendor scripts are more @maciaszczykm WDYT? |
I agree. For me |
I agree, the scripts are unnecessary since we're not keeping the /close |
@eloyekunle: Closed this PR. 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. |
Closes #3993
Adds two new
package.json
scripts:check:backend:vendor
fix:backend:vendor