-
Notifications
You must be signed in to change notification settings - Fork 37
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
feat: add windows releases #15
base: main
Are you sure you want to change the base?
Conversation
🎉 Thanks for opening this pull request! We really appreciate contributors like you! 🙌 |
Testing a quick change on my fork, which allows me to do releases based on tags, but the GoReleaser action is currently broken. I've raised issue #16 |
.goreleaser.yaml
Outdated
@@ -25,4 +26,4 @@ snapshot: | |||
changelog: | |||
filters: | |||
exclude: | |||
- [Tt]ypos? | |||
- typos? |
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.
reverted as currently broken (see #16) on main branch
Thanks for the contribution! Releasing windows builds would be awesome :) Before this can be merged though I believe that some places in the code would need to be updated to be agnostic to the underlying filesystem. I think You’ll need to search for occurrences of unix-style slashes and update the code to consider the underlying fs when accessing a path. Haven’t tested this, so maybe I’m off and |
Ah ok, that's interesting. I'm a windows user predominantly (don't judge!) and I had to go build and run it on windows... It didn't explode on either the collect or eval, and it found a load of really useful findings both around k8s itself and aws specific issues (aws-auth configmap perms). Would you expect it to explode in an obvious way (because it didn't) or just silently omit some signatures? If you have a test suite I'd be happy to run it on windows? |
Glad to hear you found rbac-police helpful! No test suite at the moment, but if eval works than Golang probably does the work for us. I’d still appreciate if you run a few simple sanity tests before this is merged to make sure things work as expected under windows:
Thanks! (Btw util scripts will stay unix only) |
I tried this against a couple of test clusters and everything seems to work fine on Windows. While I haven't performed extensive testing, I have run your commands above and they seem to behave as expected. This was using rbac-police built using Output from each command is attached in a zip file and my command log is below.
Testing was performed against a Kind cluster with these versions, and no modifications:
|
Thanks for testing this @smarticu5 :) Looks good to me |
Description
Ask GoReleaser to make a windows build on a new release
Motivation and Context
I'm a Windows user and currently have to clone the repo and build from source
How Has This Been Tested?
Yes, with releases on my fork
Screenshots (if appropriate)
See comments
Types of changes
Checklist