-
Notifications
You must be signed in to change notification settings - Fork 456
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
Download golangci-lint via wget #552
Download golangci-lint via wget #552
Conversation
Welcome @haircommander! |
a155508
to
c8c2da0
Compare
Ah, interesting. Can we remove it from vendoring at all and just download the binary via the curl script, like we do in CRI-O? I recently hit compilation issues with golangci-lint and they recommend to use their prebuilt ones. |
c8c2da0
to
f38af99
Compare
@saschagrunert good idea, fixed! |
f38af99
to
0092115
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
@haircommander we have to exclude the golangci lint check for travis on ppc, because it is not supported right now. :-/ |
@mrunalp @feiskyer @Random-Liu PTAL |
Kubernetes now requires golang 1.13.4. When using golang 1.13.4 to build critest, we run into golangci-lint#659. Fix this by installing the golangci-lint binary for 1.17.1 with curl (similar to how CRI-O currently does), instead of using go mods. Signed-off-by: Peter Hunt <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>
8c8da7f
to
07832e6
Compare
Signed-off-by: Peter Hunt <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>
20710b0
to
f8f19a1
Compare
8ec5cde
to
48aeb8d
Compare
Signed-off-by: Peter Hunt <[email protected]>
48aeb8d
to
2018721
Compare
huzzah, (finally) green tests. @mrunalp @feiskyer @Random-Liu PTAL |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, mrunalp 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 |
Kubernetes now requires golang 1.13.4. When using golang 1.13.4 to build critest, we run into golangci-lint#659. Fix this with a couple of changes:
make install.tools
into two different targets:lint
andginkgo
podman run --privileged --rm --env HOME=/root -v $PWD:/src -w /src golang:1.13 make vendor
)