Add helm update deps step to CI (#1381)

* Update testing to install deps

* Add dep update step

* Addressed review comments
This commit is contained in:
Anirudh Ramanathan
2017-06-30 09:32:41 +01:00
committed by Adnan Abdulhussein
parent 0009a23933
commit 8fe482e143
2 changed files with 11 additions and 0 deletions
+3
View File
@@ -20,6 +20,9 @@ kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
linux-amd64/helm init --service-account tiller --upgrade
linux-amd64/helm repo add stable https://kubernetes-charts.storage.googleapis.com/
linux-amd64/helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
# Run test framework
pushd .
cd $GOPATH
+8
View File
@@ -232,6 +232,14 @@ func doMain() int {
return execErr
})
xmlWrap(fmt.Sprintf("Helm Dep Build %s", path.Base(chartPath)), func() error {
o, execErr := output(exec.Command(helmPath, "dep", "build", chartPath))
if execErr != nil {
return fmt.Errorf("%s Command output: %s", execErr, string(o[:]))
}
return nil
})
xmlWrap(fmt.Sprintf("Helm Install %s", path.Base(chartPath)), func() error {
o, execErr := output(exec.Command(helmPath, "install", chartPath, "--namespace", ns, "--name", rel, "--wait"))
if execErr != nil {