Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
6c20db8d
Commit
6c20db8d
authored
Jan 28, 2019
by
Markus Scheidgen
Browse files
Minor changes.
parent
2e251f97
Pipeline
#42843
passed with stage
in 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6c20db8d
...
...
@@ -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="
nomad
-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
...
...
ops/helm/nomad/Chart.yaml
View file @
6c20db8d
apiVersion
:
v1
appVersion
:
"
1
.0"
appVersion
:
"
0.3
.0"
description
:
A Helm chart for Kubernetes that only runs nomad services and uses externally hosted databases.
name
:
nomad
version
:
0.3.0
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment