...
 
Commits (2)
......@@ -161,7 +161,6 @@ function deploy() {
image_tag=${CI_APPLICATION_TAG:-$CI_COMMIT_TAG}
fi
local service_enabled="true"
local old_postgres_enabled_for_track="$old_postgres_enabled"
local postgres_managed="$AUTO_DEVOPS_POSTGRES_MANAGED"
local postgres_managed_selector="$AUTO_DEVOPS_POSTGRES_MANAGED_CLASS_SELECTOR"
......@@ -169,7 +168,6 @@ function deploy() {
# if track is different than stable,
# re-use all attached resources
if [[ "$track" != "stable" ]]; then
service_enabled="false"
old_postgres_enabled_for_track="false"
fi
......@@ -215,7 +213,6 @@ function deploy() {
# shellcheck disable=SC2086 # HELM_UPGRADE_EXTRA_ARGS -- double quote variables to prevent globbing
helm upgrade --install \
--wait \
--set service.enabled="true" \
--set gitlab.app="$CI_PROJECT_PATH_SLUG" \
--set gitlab.env="$CI_ENVIRONMENT_SLUG" \
--set gitlab.envName="$CI_ENVIRONMENT_NAME" \
......@@ -253,7 +250,6 @@ function deploy() {
# shellcheck disable=SC2086 # HELM_UPGRADE_EXTRA_ARGS -- double quote variables to prevent globbing
helm upgrade --install \
--wait \
--set service.enabled="$service_enabled" \
--set gitlab.app="$CI_PROJECT_PATH_SLUG" \
--set gitlab.env="$CI_ENVIRONMENT_SLUG" \
--set gitlab.envName="$CI_ENVIRONMENT_NAME" \
......