-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Support Windows #7
Comments
@jkroepke do you know if there is a roadmap for windows support? We're getting
|
@erihanse I tought no one request it. One question: do you have installed Git for Windows or WSL(Ubuntu Bash) on your system? I saw you are using the old futuresimple version. What the error if you try
? |
For my part,
I do have both Git for Windows and WSL2 installed. |
Since I do have |
You could take a look at #28 and see if this works on windows, too? |
@jkroepke Yes, that does appear to work. Obviously it's not going to work for someone who doesn't have any instance of |
Sure, correct. But I would rewrite the plugin in go nativly before going to write some powershell. 😄 |
So, the new windows |
Thats a lot! I just test it on my Windows machine. Since there is no default shell, I had to handle multiple cases (cygwin, git for windows, wsl) and different variations. There was no sh by default available. The sh.cmd prefers a shell from windows environment first, because I thought if helm-secrets runs in WSL, it can't interact with a gpg deamon runs under windows, eg. gpg4win. But it's possible to force a shell/environment. |
So I can see a few things that seem a bit weird. The windows command in After correcting for that issue, the plugin actually works, although there's another (not-fatal) weirdness: If you call However, inside |
Yes, the behavior is catched by Lines 83 to 86 in e67afdb
I know this. Additionally it's increase the complexity dramatically. If we are get more issues, I'll restore the old behavior. The reason for this, helm-secrets was not running out of the box on my windows systems. |
I'm running Windows tests inside GH Actions now. That should avoid some mistakes on windows systems. |
Goal:
The text was updated successfully, but these errors were encountered: