Skip to content
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

Install of cm-push fails on Windows 11 #133

Open
pcgeek86 opened this issue Feb 17, 2022 · 7 comments
Open

Install of cm-push fails on Windows 11 #133

pcgeek86 opened this issue Feb 17, 2022 · 7 comments

Comments

@pcgeek86
Copy link

I can't successfully install this plugin on Windows 11. See errors below.

C:\Users\TrevorSullivan> helm plugin install https://github.com/chartmuseum/helm-push
Downloading and installing helm-push v0.10.2 ...
https://github.com/chartmuseum/helm-push/releases/download/v0.10.2/helm-push_0.10.2_windows_amd64.tar.gz
mv: can't rename 'releases/v0.10.2/bin/helm-cm-push': No such file or directory
Installed plugin: cm-push
C:\Users\TrevorSullivan> helm cm-push
Error: exec: "C:\\Users\\TrevorSullivan\\AppData\\Roaming\\helm\\plugins\\helm-push/bin/helm-cm-push": file does not exist
@nerdeveloper
Copy link
Member

Hey, @pcgeek86, I am going to look into this. Thank you for letting us know

@nerdeveloper
Copy link
Member

nerdeveloper commented Mar 8, 2022

Please after investigation @pcgeek86 , I can see that it works well on windows 11. I have tested it on my end. My suggestion is that you upgrade helm and try again. Thank you

C:\Users\vagrant>helm version
version.BuildInfo{Version:"v3.8.0", GitCommit:"d14138609b01886f544b2025f5000351c9eb092e", GitTreeState:"clean", GoVersion:"go1.17.5"}

Screenshot 2022-03-08 at 18 49 22

@mmgil
Copy link

mmgil commented Apr 29, 2022

Hi All,

I am with same problem in Windows 11

Helm is v3.8.2
image

But when o try execute helm cm-push i receive the following message:
image

@nerdeveloper
Copy link
Member

nerdeveloper commented Jul 5, 2022

Hello, Please use git bash to do this, I am not certain why it doesn't work but try doing the same thing from Git bash

@yaroslav-kovalevskyi
Copy link

yaroslav-kovalevskyi commented Jul 7, 2022

image
Hello guys!
I'm trying to use Git Bash, and I'm facing the same issue
Could someone advise?
Thank you in advance

UPD: manually downloaded bin file from release and checked what does install_plugin.sh do. Then manually did all steps from script, and now it looks like helm cm-push --help works from my side:
image

I guess, the issue is in script that works as not as expected: it makes wrong directory during the execution:
image

@jeroenlandheer
Copy link

I hit this issue too, the easiest way to solve it is:

set PATH=%ProgramFiles%\Git\bin;%PATH%
helm plugin uninstall cm-push
helm plugin install https://github.com/chartmuseum/helm-push

The issue is that often the PATH does not contain %ProgramFiles%\Git\bin but only %ProgramFiles%\Git\cmd. The latter does not contain sh.exe.

Hope this helps.

@tibitoth
Copy link

I hit this issue too, the easiest way to solve it is:

set PATH=%ProgramFiles%\Git\bin;%PATH%
helm plugin uninstall cm-push
helm plugin install https://github.com/chartmuseum/helm-push

The issue is that often the PATH does not contain %ProgramFiles%\Git\bin but only %ProgramFiles%\Git\cmd. The latter does not contain sh.exe.

Hope this helps.

This workaround worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants