Merge branch '52143-use-tiller-directly' into 'master'

Use tiller directly for Auto DevOps

Closes #52143

See merge request gitlab-org/gitlab-ce!22076
This commit is contained in:
Dmitriy Zaporozhets 2018-10-05 08:52:35 +00:00
commit 98649bef45
1 changed files with 2 additions and 5 deletions

View File

@ -689,9 +689,6 @@ rollout 100%:
helm version --client
tiller -version
helm init --client-only
helm plugin install https://github.com/adamreese/helm-local
curl -L -o /usr/bin/kubectl "https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl"
chmod +x /usr/bin/kubectl
kubectl version --client
@ -800,9 +797,9 @@ rollout 100%:
function initialize_tiller() {
echo "Checking Tiller..."
helm local start
helm local status
export HELM_HOST=":44134"
tiller -listen ${HELM_HOST} -alsologtostderr > /dev/null 2>&1 &
echo "Tiller is listening on ${HELM_HOST}"
if ! helm version --debug; then
echo "Failed to init Tiller."