quintush / helm-unittest

BDD styled unit test framework for Kubernetes Helm charts as a Helm plugin.
MIT License
345 stars 69 forks source link

Installation fails in cygwin with bash #165

Open pluess opened 2 years ago

pluess commented 2 years ago

It's not possible to instal the plugin form a cygwin environment:

helm plugin install https://github.com/quintush/helm-unittest
./install-binary.sh: Zeile 2: $'\r': Kommando nicht gefunden.
./install-binary.sh: Zeile 4: $'\r': Kommando nicht gefunden.
./install-binary.sh: Zeile 8: $'\r': Kommando nicht gefunden.
./install-binary.sh: Zeile 10: $'\r': Kommando nicht gefunden.
./install-binary.sh: Zeile 25: Syntaxfehler beim unerwarteten Wort `$'{\r''
'/install-binary.sh: Zeile 25: `initArch() {
Error: plugin install hook for "unittest" exited with error

After the failed install helm plugin list lists the plugin as installed. helm plugin uninstall unittest is necessary to get rid of the failed installation.

quintush commented 1 year ago

Hello @pluess,

I have setup the plugin using git-bash, which is automatically installed with git on a Windows machine.

That works and can maybe help as a wor ook around.

Will check why it is failing on only sygwin installation.

Greetings, @quintush