-
Notifications
You must be signed in to change notification settings - Fork 211
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
Get the default version from vendored cilium/charts repo #2874
Conversation
Get the default Cilium version from vendored cilium/charts repo so that the build is reproducible. Fixes: #2870 Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
output from
|
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.
Makes sense 👍
Now that we rely on cilium/charts
for the version, I think we should also update the instructions in RELEASE.md
to update that dependency before the release in order to make sure it will ship with the latest Cilium release baked in.
Why can't this version be manually set as part of the release process? |
Updating |
It will. You just have an implied dependency on how
EDIT: that's |
Yes, but that (indirect) dependency already exists anyway. And it's the Cilium community (i.e. us) controlling that repository, so I don't see a big risk in depending on its structure. I actually think the chance of forgetting to manually update the version or getting it wrong on cilium-cli release is much higher.
👍 |
That being said, I'm not strongly opposed to changing to a manual approach as sugested. I just think it has the risk of being slightly more error-prone. But I'll let @michi-covalent decide on what approach to take here. |
Generally, overly clever things like this in build systems introduces errors and edge-cases, and the time spent fixing them once bugs happen, does not end up saving you a lot of time. This is code that I would need to bring into the Arch downstream package as well, as the correct value can't be easily obtained. Ref: https://gitlab.archlinux.org/archlinux/packaging/packages/cilium-cli/-/merge_requests/1
You all know the projects better than me, I'm just speaking from a downstream perspective. Feel free to do what you think is best for you project. |
thanks for the pointer https://gitlab.archlinux.org/archlinux/packaging/packages/cilium-cli/-/merge_requests/1/diffs, it helps to see how it's being built downstream. let's just stop setting |
closing this one. will fix this in the cilium-cli code |
Get the default Cilium version from vendored cilium/charts repo so that the build is reproducible.
Fixes: #2870