Closed duc2h closed 1 year ago
Hello @edarha,
I just pushed an update to stabelize the installation script. Try to install it again using the same command (with latest it will pick the latest commit).
If you still have troubles, installing please give me some information what os you are installing the plugin. Also cleaning-up the helm cache path (https://helm.sh/docs/helm/helm/, there is a table showing the default locations of the folders) can help solving the problem, as the plugin installer is caching it's installation.
Greetings, @quintush
Hey @quintush, error is still not fixed for Linux, HELM_PLUGIN_PATH
is defined as empty string
cygpath: not found
./install-binary.sh: 16: cygpath: not found
Support linux-amd64
Retrieving https://api.github.com/repos/quintush/helm-unittest/releases/latest
Downloading https://github.com/quintush/helm-unittest/releases/download/v0.2.9/helm-unittest-linux-amd64-0.2.9.tgz to location /tmp/_dist/
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 19.0M 100 19.0M 0 0 168k 0 0:01:55 0:01:55 --:--:-- 58625
Validating Checksum.
Preparing to install into
cp: cannot create regular file '': No such file or directory
Failed to install helm-unittest
For support, go to https://github.com/kubernetes/helm
Error: plugin install hook for "unittest" exited with error
Hello @artiz,
Thanks for pointing it out. Did not see the missing path.
Updated the script again with simplification of the path initialization, which should fix the problem.
Greetings, @quintush
@quintush very strange but HELM_PLUGIN_DIR is also empty. export HELM_PLUGIN_DIR=$HOME/.local/share/helm
does not fix the issue
Hello @artiz ,
The issue should now be resolved. Sygwin validation was triggered while it should no have been, so that the path was reset to "". I have managed to reproduce the issue van finally verified the correct validation is resolving the issue.
Greetings, @quintush
Hey, @quintush Yep all is fine, issue is resolved. Thank you very much.
Hey,
it seems a new install only works if done without version. If I use 0.2.9 as version it still does not work. Is it possible that the git tag needs an update too? Or do you plan releasing a new version anyway?
Hello @BernhardGruen,
The tag is just updated, so with specific version the download should also work.
Greetings, @quintush
hello @quintush i got this issue
$ helm plugin install https://github.com/quintush/helm-unittest --version 0.2.9
Error: Unable to update repository: exit status 1
$ helm plugin install https://github.com/quintush/helm-unittest
Error: Unable to update repository: exit status 1
Yes, works now. Many thanks for your really fast reaction to this. @quintush
hello @quintush i got this issue
$ helm plugin install https://github.com/quintush/helm-unittest --version 0.2.9 Error: Unable to update repository: exit status 1 $ helm plugin install https://github.com/quintush/helm-unittest Error: Unable to update repository: exit status 1
Hello @edarha,
Can you try to remove the plugin (helm plugin remove unittest) and clean the cache (clean the $HOME/.cache/helm/plugin folder and retry installing?
If that still does not work, can you please tell me which linux distro you are using? There are some small differences.
Greetings, @quintush
it works fine now, thanks a lot your of effort @quintush
helm-unittest
by this commandhelm plugin install https://github.com/quintush/helm-unittest
with the latest versionv0.2.9
.