Commit 8cd5004b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'improve_auto_devops_migration_debug' into 'master'

Add echo so that we know which branch was taken

See merge request gitlab-org/gitlab-ce!23499
parents 8a465b0c e194d7b4
---
title: 'Auto DevOps: Add echo for each branch of the deploy() function where we run
helm upgrade'
merge_request: 23499
author:
type: changed
......@@ -658,6 +658,7 @@ rollout 100%:
fi
if [[ -n "$DB_INITIALIZE" && -z "$(helm ls -q "^$name$")" ]]; then
echo "Deploying first release with database initialization..."
helm upgrade --install \
--wait \
--set service.enabled="$service_enabled" \
......@@ -680,6 +681,7 @@ rollout 100%:
"$name" \
chart/
echo "Deploying second release..."
helm upgrade --reuse-values \
--wait \
--set application.initializeCommand="" \
......@@ -688,6 +690,7 @@ rollout 100%:
"$name" \
chart/
else
echo "Deploying new release..."
helm upgrade --install \
--wait \
--set service.enabled="$service_enabled" \
......
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