blob: a3681d033ab391a94f6525d5c58234563cb13d11 [file] [log] [blame]
Areli Fuss471a29702018-02-01 13:09:07 +02001#!/bin/sh
2
3curl_status=$(curl -w '%{http_code}\n' https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get -o get_helm.sh)
4
5echo $curl_status
6
7if [ ${curl_status} != 200 ]; then
8 echo "[ERROR] Download get_helm failed - $curl_status"
9 exit -1
10fi
11
12chmod 700 get_helm.sh
13
14echo "[INFO] Running get helm"
15./get_helm.sh --version v2.7.2
16
17if [ $? != 0 ]; then
18 echo "[ERROR] failed to run get_helm"
19fi
20