continuous-integrationtravis-cikubernetes-helmhelm-tls

How to install helm in travis pipeline


I am doing this to install helm in my travis job

curl https://baltocdn.com/helm/signing.asc | sudo apt-key add -
sudo apt-get install apt-transport-https --yes
echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm

And when the command helm init --client-only runs in the travis, it says

Not Really a helm install

Can someone help me out in this?


Solution

  • This command is the correct way to install helm in the Travis pipeline:

    curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
    

    And then you can check by using

    helm version