-
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
Automate dependency pinning and updating script for Kustomize #5404
Comments
Apologies if I misunderstood while you were explaining in the meeting - we do have a script that automatically pins dependencies , e.g.
will pin all the dependencies to the that version of kyaml without requiring manually editing the code. Is that what you were looking for? If so, then we probably need to redefine this issue because the script already exists. Or are you proposing something different? The manual part is that we then have to make a PR for each time we pin the dependencies. I think this is more covered by #3952 and your ongoing proposal in the Miro board, but adding context here for completion: The release flow is something like
The part we are hoping to automate is creating and merging all these PRs, would be great if all we had to do was click a button or run a single script to do a "release" and not have to release each module individually. Ideally, that would mean either eliminating the PR creation/merging steps or somehow automating them in a way that doesn't require human intervention. I'm not sure how possible that is, but any steps to get us closer to that would be great. |
I see, thank you for the clarification. I do aware that we have |
synced offline, agreed that modifications to that we can work outside of $GOSRC directory will be great. /triage accepted |
/close |
@antoooks: Closing this issue. 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. |
Eschewed features
What would you like to have added?
Pinning dependency and updating the dependencies inside the code is a required step on Kustomize release process. Currently there is no automated way of doing this step.
Why is this needed?
There are several highlighted issues with current release, pin, and update command
gorepomod
:gorepomod
outside $GOSRCgorepomod
in our own repo, we have to rename our cloned directory intosigs.k8s.io/kustomize
and put it under $GOSRCCan you accomplish the motivating task without this feature, and if so, how?
Yes, we still can pin and update the dependency using
gorepomod
What other solutions have you considered?
Can't think of any.
Anything else we should know?
No response
Feature ownership
The text was updated successfully, but these errors were encountered: