Commit 15935833 authored by Rémy Coutable's avatar Rémy Coutable

Switch back to the '--wait' flag for the 'helm upgrade' command

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 4bf01ce5
...@@ -128,8 +128,9 @@ review-stop: ...@@ -128,8 +128,9 @@ review-stop:
- source utils.sh - source utils.sh
- source review-apps.sh - source review-apps.sh
script: script:
- delete - delete_release
artifacts: {} artifacts:
paths: []
.review-qa-base: .review-qa-base:
extends: extends:
......
...@@ -36,7 +36,7 @@ function previous_deploy_failed() { ...@@ -36,7 +36,7 @@ function previous_deploy_failed() {
return $status return $status
} }
function delete() { function delete_release() {
if [ -z "$CI_ENVIRONMENT_SLUG" ]; then if [ -z "$CI_ENVIRONMENT_SLUG" ]; then
echoerr "No release given, aborting the delete!" echoerr "No release given, aborting the delete!"
return return
...@@ -193,7 +193,8 @@ function deploy() { ...@@ -193,7 +193,8 @@ function deploy() {
HELM_CMD=$(cat << EOF HELM_CMD=$(cat << EOF
helm upgrade --install \ helm upgrade --install \
--atomic \ --force \
--wait \
--timeout 900 \ --timeout 900 \
--set releaseOverride="$CI_ENVIRONMENT_SLUG" \ --set releaseOverride="$CI_ENVIRONMENT_SLUG" \
--set global.appConfig.enableUsagePing=false \ --set global.appConfig.enableUsagePing=false \
......
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