-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix git-validation by always using HEAD^ #4112
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
Conversation
The merge base is wrong for release branches. To decrease the complexity we now just use the HEAD^ commit and assume that a PR consists of one commit. Signed-off-by: Sascha Grunert <[email protected]>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@saschagrunert: once the present PR merges, I will cherry-pick it on top of release-1.19 in a new PR and assign it to you. DetailsIn 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. |
Codecov Report
@@ Coverage Diff @@
## master #4112 +/- ##
=======================================
Coverage 41.58% 41.58%
=======================================
Files 110 110
Lines 9042 9042
=======================================
Hits 3760 3760
Misses 4943 4943
Partials 339 339 |
|
/retest |
1 similar comment
|
/retest |
|
/test e2e-aws |
|
@saschagrunert: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
|
/lgtm |
|
I am unsure of this one, though not enough to put a hold on it. I would rather we find a way to actually only check the commits that differ between upstream and HEAD. There are definite cases to have more than one commit per PR, and we risk having those not signed if we don't validate... |
Hm I'm not sure about the git-validation in general. Do we really need it? We enforce the signing already via prow, and checking for whitespace changes is mostly done by our linters. The only thing we not check right now is the "short subject". |
yeah the one whitespace fix we miss is in the actual git commit itself. though, I can't really see that being very useful. I am in favor of dropping it. wdyt @umohnani8 @mrunalp |
I'll propose that as another PR so that we can continue the discussion there 👍 |
What type of PR is this?
/kind failing-test
What this PR does / why we need it:
The merge base is wrong for release branches. To decrease the complexity
we now just use the HEAD^ commit and assume that a PR consists of one
commit.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
git-validation is currently broken for release-1.19. So we might also
/cherrypick release-1.19
Does this PR introduce a user-facing change?