helm-push icon indicating copy to clipboard operation
helm-push copied to clipboard

Install of cm-push fails on Windows 11

Open pcgeek86 opened this issue 4 years ago • 7 comments

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

pcgeek86 avatar Feb 17 '22 05:02 pcgeek86

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

nerdeveloper avatar Mar 04 '22 02:03 nerdeveloper

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

nerdeveloper avatar Mar 08 '22 14:03 nerdeveloper

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

mmgil avatar Apr 29 '22 18:04 mmgil

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

nerdeveloper avatar Jul 05 '22 21:07 nerdeveloper

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

yaroslav-kovalevskyi avatar Jul 07 '22 11:07 yaroslav-kovalevskyi

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.

jeroenlandheer avatar Feb 19 '23 17:02 jeroenlandheer

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

tibitoth avatar May 19 '23 14:05 tibitoth