-
Notifications
You must be signed in to change notification settings - Fork 562
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 Microsoft Installer (MSI) package to releases #766
Conversation
@wolfeidau any chance you might be able to take a look this week? Thank you! |
@wolfeidau sorry to ping directly again, but I haven't seen anyone else reviewing or merging PRs, is there anyone who could do so? Thanks for your work on this project! |
@wolfeidau or anyone on this project, would really appreciate a look at this 🙏 |
@Versent @lincheney @mapkon is there anything we can do to get some eyes 👀 on this? |
6c2091d
to
eb5794d
Compare
Hi @wolfeidau ! Noticed some new activity on this repo, rebased my branch. Would really appreciate a review! |
Hi @wolfeidau @Versent checking in again to see if we could get anyone to take a look at this. There are no code changes in this PR, it doesn't negatively affect the existing releases (even if it breaks), and it'd be a real win for managed Windows environments, admins, and end users. |
977b5c1
to
7c17660
Compare
Trying to give this another bump.. @wolfeidau @Versent what could I do to get this looked at? |
@wolfeidau @Versent what could I do here to get someone's attention? I'd love to discuss this and open up some kind of conversation at the very least. Please let me know! 🙏 I believe this is a useful change, and I've gone out of my way to make it unobtrusive to any existing process in place. It would help for issues like #820 . |
7c17660
to
2ce9149
Compare
would still love to have someone look at this... or chat about it.. @wolfeidau @Versent is there anyone who could take a look? |
Hi @mapkon @wolfeidau @lincheney @Versent , I've just updated the PR to keep it up to date with If the intention is is not to consider this PR, it would be nice to know that as well.. thanks |
@briantist Thank you for the message. I will take a look at the earliest. In the long run, we are formulating a much more sustainable maintenance plan for the project, which will involve a contribution path for the wider community. We hope that will hopefully lead to better cadences when it comes to merging and fixing issues. Please expect a discussion post soon. |
@briantist The changes in the #962 will need to be merged with yours |
Thank you, I will take a look next week and incorporate those changes. Much appreciated! |
This comment was marked as resolved.
This comment was marked as resolved.
@mapkon I've resolved the conflicts and incorporated the changes from #962 . I've re-tested on my fork:
The Please take a look when you can and let me know if you have any questions or concerns. Thanks! |
Thank you! Apologies but I am seeking internal guidance on how to proceed on this given that I am new to this project. I will revert before weeks end |
@mapkon no problem, thanks for letting me know. Changes to workflows or the release process can be really tricky to evaluate by PR alone, so if there's additional testing/demonstration I can do on my fork that would be helpful, let me know. |
@briantist @gliptak I have moved the discussion here: #987 Please tag anyone you think can add benefit and thoughts on this. Thank you |
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## master #766 +/- ##
=======================================
Coverage 27.88% 27.88%
=======================================
Files 52 52
Lines 7379 7379
=======================================
Hits 2058 2058
Misses 5069 5069
Partials 252 252
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Decisions made here: #987 I will defer this to the next release to stagger the testing. |
This PR modifies the GitHub workflow for releasing to run an additional job that builds an MSI package, and adds it to the release assets (only for AMD64).
The existing build is already taking care of a Windows binary, and there's chocolatey installs available, but MSI packages offer a number of advantages:
The MSI is built with the Wix toolset in Wine and does not require a Windows runner or environment to build, and this uses a pre-built container that is set up with wix.
The existing build and release steps using go-releaser are not changed; the MSI part runs in a separate dependent job, and downloads the .exe from the release produced by the original job, and uploads the resulting .msi as an additional release asset. Here's an example as run on my fork:
Additionally, I've added a
workflow_dispatch
trigger that takes atag
input. When triggered this way, you can run the workflow manually against an existing previous release, to add the MSI build to it after the fact:During that run, it will not re-run the
release
job (it would fail because go-releaser gets errors trying to upload the assets that already exist), and instead will only run the MSI portion. A run like that can be seen here:https://github.com/briantist/saml2aws/actions/runs/1792301340
And again this will not change the tag of the existing release, it will use the .exe already uploaded to it to produce the MSI.
So if this PR is accepted, that is a way to go back and add MSIs to a few past releases if desired.
Happy to answer any questions or concerns, thanks!