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

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2019-08-27 13:01:13 +02:00
parent 4bf01ce52f
commit 1593583337
No known key found for this signature in database
GPG Key ID: 98DFFD1C0C62B70B
2 changed files with 6 additions and 4 deletions

View File

@ -128,8 +128,9 @@ review-stop:
- source utils.sh
- source review-apps.sh
script:
- delete
artifacts: {}
- delete_release
artifacts:
paths: []
.review-qa-base:
extends:

View File

@ -36,7 +36,7 @@ function previous_deploy_failed() {
return $status
}
function delete() {
function delete_release() {
if [ -z "$CI_ENVIRONMENT_SLUG" ]; then
echoerr "No release given, aborting the delete!"
return
@ -193,7 +193,8 @@ function deploy() {
HELM_CMD=$(cat << EOF
helm upgrade --install \
--atomic \
--force \
--wait \
--timeout 900 \
--set releaseOverride="$CI_ENVIRONMENT_SLUG" \
--set global.appConfig.enableUsagePing=false \