Commit 2e251f97 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed release name: unallowed characters.

parent eda5b822
Pipeline #42837 passed with stage
in 27 seconds
......@@ -210,7 +210,7 @@ deploy_kubernetes:
- export KUBECONFIG=/etc/deploy/config
- helm dep build
- export API_VERSION="$(grep "version" Chart.yaml | cut -d" " -f2)"
- export RELEASE_NAME="kubetest-v${API_VERSION/./-}"
- export RELEASE_NAME="kubetest-v${API_VERSION//./-}"
- 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
......
Supports Markdown
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