diff --git a/test/helm-test-e2e.sh b/test/helm-test-e2e.sh index 5e3a47ad1a..4973497f36 100755 --- a/test/helm-test-e2e.sh +++ b/test/helm-test-e2e.sh @@ -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 diff --git a/test/helm-test/main.go b/test/helm-test/main.go index 2dc92cb6eb..612f2a0bed 100644 --- a/test/helm-test/main.go +++ b/test/helm-test/main.go @@ -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 {