File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,14 @@ build:
40
40
code : |
41
41
#!/bin/bash
42
42
echo @@ "Helm installation starts"
43
- curl -LO http://kubernetes-helm.storage.googleapis.com/helm-v2.8.2-linux-amd64.tar.gz
43
+ export HELM_VERSION=${HELM_VERSION:-v2.11.0}
44
+ curl -LO http://kubernetes-helm.storage.googleapis.com/helm-${HELM_VERSION}-linux-amd64.tar.gz
44
45
mkdir /tmp/helm
45
- tar xzf helm-v2.8.2 -linux-amd64.tar.gz -C /tmp/helm
46
+ tar xzf helm-${HELM_VERSION} -linux-amd64.tar.gz -C /tmp/helm
46
47
chmod +x /tmp/helm/linux-amd64/helm
47
48
mv /tmp/helm/linux-amd64/helm /usr/local/bin/
48
49
rm -rf /tmp/helm
50
+ helm version
49
51
echo @@ "Helm is installed."
50
52
- wercker/maven :
51
53
goals : clean install
@@ -207,6 +209,20 @@ quality:
207
209
name : Install pre-reqs
208
210
code : |
209
211
yum -y install tar gzip procps
212
+ - script :
213
+ name : Install helm
214
+ code : |
215
+ #!/bin/bash
216
+ echo @@ "Helm installation starts"
217
+ export HELM_VERSION=${HELM_VERSION:-v2.11.0}
218
+ curl -LO http://kubernetes-helm.storage.googleapis.com/helm-${HELM_VERSION}-linux-amd64.tar.gz
219
+ mkdir /tmp/helm
220
+ tar xzf helm-${HELM_VERSION}-linux-amd64.tar.gz -C /tmp/helm
221
+ chmod +x /tmp/helm/linux-amd64/helm
222
+ mv /tmp/helm/linux-amd64/helm /usr/local/bin/
223
+ rm -rf /tmp/helm
224
+ helm version
225
+ echo @@ "Helm is installed."
210
226
- wercker/maven :
211
227
profiles : build-sonar
212
228
maven_opts : -Dsonar.login=${SONAR_LOGIN} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.host.url=${SONAR_HOST}
You can’t perform that action at this time.
0 commit comments