Skip to content
Snippets Groups Projects
Commit 2e215ed6 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added missing KUBECONFIG env var.

parent e7e2e754
No related branches found
No related tags found
1 merge request!24Migration
Pipeline #42832 passed with warnings
......@@ -201,6 +201,7 @@ deploy_kubernetes:
- mkdir -p /etc/deploy
# kube_config is a CI/CD variable set in GitLab GUI
- echo ${kube_config} | base64 -d > /etc/deploy/config
- export KUBECONFIG=/etc/deploy/config
# - kubectl config use-context homekube
- helm init --client-only
- helm repo add stable https://kubernetes-charts.storage.googleapis.com/
......@@ -214,6 +215,6 @@ deploy_kubernetes:
- export DEPLOYS=$(helm ls | grep $RELEASE_NAME | wc -l)
- export EXTERNAL_PATH="/nomad/kubetest/v${API_VERSION}
- if [ ${DEPLOYS} -eq 0 ]; then helm install --name=${RELEASE_NAME} . --namespace=${STAGING_NAMESPACE} --set proxy.external.path=${EXTERNAL_PATH}; else helm upgrade ${RELEASE_NAME} . --namespace=${STAGING_NAMESPACE}; fi
except:
- /^dev-.*$/
# except:
# - /^dev-.*$/
when: manual
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment