Commit 6f54452c authored by Ian Baum's avatar Ian Baum

Updates for the MR

* Use the production image now that newer helm has been merged
* Fix release_name function usage to properly account for track option
parent 56772d20
Pipeline #57122881 passed with stages
in 37 minutes and 37 seconds
......@@ -24,8 +24,7 @@
# `.buildpacks` that contains the URLs, one on each line, in order.
# Note: Auto CI does not work with multiple buildpacks yet
# image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base
image: registry.gitlab.com/ibaum/gitlab/gitlab-charts-build-base:2.12.3 # DEV
image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base
variables:
GOOGLE_APPLICATION_CREDENTIALS: ${CI_PROJECT_DIR}/.google_keyfile.json
......@@ -385,7 +384,8 @@ check_docs_internal_links:
}
function deploy() {
name=$(release_name)
track="${1-stable}"
name=$(release_name ${track})
replicas="1"
service_enabled="false"
......@@ -598,7 +598,8 @@ check_docs_internal_links:
}
function delete() {
name=$(release_name)
track=${1-stable}
name=$(release_name ${track})
helm delete --purge "$name" || true
}
......
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