Commit cb45ca1e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

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

Use tiller directly for Auto DevOps

Closes #52143

See merge request gitlab-org/gitlab-ce!22076
...@@ -689,9 +689,6 @@ rollout 100%: ...@@ -689,9 +689,6 @@ rollout 100%:
helm version --client helm version --client
tiller -version tiller -version
helm init --client-only
helm plugin install
curl -L -o /usr/bin/kubectl "${KUBERNETES_VERSION}/bin/linux/amd64/kubectl" curl -L -o /usr/bin/kubectl "${KUBERNETES_VERSION}/bin/linux/amd64/kubectl"
chmod +x /usr/bin/kubectl chmod +x /usr/bin/kubectl
kubectl version --client kubectl version --client
...@@ -800,9 +797,9 @@ rollout 100%: ...@@ -800,9 +797,9 @@ rollout 100%:
function initialize_tiller() { function initialize_tiller() {
echo "Checking Tiller..." echo "Checking Tiller..."
helm local start
helm local status
export HELM_HOST=":44134" 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 if ! helm version --debug; then
echo "Failed to init Tiller." echo "Failed to init Tiller."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment