-
Notifications
You must be signed in to change notification settings - Fork 166
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
Add Windows build and refactor goreleaser config generation #795
Add Windows build and refactor goreleaser config generation #795
Conversation
…tor-releases into fancy-approach-windows-build
Thanks for the contribution Douglas! Can you implement the refactoring in a separate PR from the functional change? This should make code review much more effective. |
@andrzej-stencel: Sure thing. I'll open a separate PR for the refactor, cross-reference this one and close it so that we can focus on the new one. |
Opened #797, which should be only the refactor but without the Windows containers parts, @andrzej-stencel. Closing this. |
This should fix #339, while at the same time moving the code for generating the
goreleaser
configuration for the distros into a more declarative and easy-to-extend form.The Windows build will be producing images based on Windows 2019 and 2022.
Why so many changes? 😱
I am completely aware that it represents a big rewrite of this part of code. I tried a few different approaches with the intent of having a minimum change that would allow me to support Windows, but the amount of changes needed always ended up snowballing quickly. Some examples of the reasons for this "snowballing" of code are (non-exhaustive list):
This might not the best code for this job too, but at least I believe it sets up a good structure that we can build upon and iterate on to improve.
I'm very open to hear your feedback and see how we can move this forward!
I can join the Collector SIG call on 2025-01-15 to talk about this if any maintainer finds it more productive.
Questions ⍰
If anyone, please, could help me out in testing that release process works fine with the update goreleaser configuration, it would be aaaaamazing! I don't feel super confident without testing this, of course.