-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Update releasing workflow #5026
Update releasing workflow #5026
Conversation
KnVerey
commented
Feb 2, 2023
•
edited
Loading
edited
- Updates release instructions to better reflect what we actually do
- Adds back the pinning/unpinning step (unfortunately too many commands do not work well enough with workspace mode that I think the old process is easier overall)
- Restores the old version of test-go-mod, in light of the above (but doesn't delete the new script in case we have novel problems and want to switch to it again)
- Makes pinning/unpinning affect ALL modules. The repo's history goes back and forth on this, and we don't know why.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KnVerey 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 |
1ec1042
to
4fff839
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
This PR has multiple commits, and the default merge method is: merge. 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. |
@@ -36,7 +36,6 @@ var ( | |||
"docs", | |||
"examples", | |||
"hack", | |||
"plugin", |
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.
Jeff specifically added this in #3910. Why? 😕
/hold |
/unhold |
Co-authored-by: Cailyn <cailyn.s.e@gmail.com>
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
I just have a small question, but we don't need to hold the PR for it
@@ -126,7 +127,7 @@ func (dg *DotGitData) checkModules(modules []*protoModule) error { | |||
} | |||
} else { | |||
// Do the relative path and short name make sense? | |||
if !strings.HasSuffix(pm.PathToGoMod(), string(shortName)) { | |||
if !strings.HasPrefix(string(shortName), "plugin/") && !strings.HasSuffix(pm.PathToGoMod(), string(shortName)) { |
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 do we need to exclude plugins here?
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.
Good question. I think this was a left over attempt to fix the problem that in the end was caused by one plugin having an invalid module name. I'll revert it in the unpinning PR.