-
Notifications
You must be signed in to change notification settings - Fork 762
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
Tests tools bump #3723
Tests tools bump #3723
Conversation
4d7cbf1
to
ce8bc12
Compare
I have had temporary commit added to check if the new subject line length check it working, and it is! (see |
ce8bc12
to
1c14fbb
Compare
LGTM |
/lgtm |
LGTM |
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
1. Remove GO111MODULE=on and -mod=vendor. Those are not required (default) since go 1.16 (or earlier), and go 1.16 is currently the oldest supported release. 2. Remove go-build define: - cd `pwd` does not make any sense; - @echo > /dev/null masks any errors during tools building; - $(shell basename ...) could be replaced by $(notdir ...); - the above is not needed since we already have what we need as a target ($@); - finally, this is problematic for e.g. cpuguy83/go-md2man/v2 (as it builds the binary named v2). So, just use $(GO_BUILD) -o $@ path/to/package 3. GO_BUILD does not need to be exported. 4. Mark $(BUILDDIR) target as phony -- a mere existence of the directory should not cause make to skip building the binaries. K.I.S.S! Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Currently, git-validation is used to do two things: 1. Check that all commits in a PR has DCO (Signed-off-by) 2. Check that all commits has limited subject length Nowdays, there are better tools for that. For DCO, https://github.com/apps/dco can be used, and for subject length check, I mocked up a GHA CI job (originally in opencontainers/runc -- copied from there with some minimal changes). Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
1c14fbb
to
8b190fe
Compare
rebased |
@cevich PTAL |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kolyshkin, rhatdan 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 |
/kind cleanup
What this PR does / why we need it:
Some vendoring bumps and simplifications for tests/tools.
This is a followup to #3717, addressing TODO in #3717 (comment) and a few more things (see individual commits for details).
How to verify it
CI should be sufficient
Which issue(s) this PR fixes:
none
Special notes for your reviewer:
Please review commit-by-commit, and see individual commit messages for details.
Does this PR introduce a user-facing change?