summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-08-27 13:01:13 +0200
committerRémy Coutable <remy@rymai.me>2019-09-03 18:06:45 +0200
commit15935833379e1852a4c767f4bba307501e018773 (patch)
tree6fbaa0617c0cc1832366bc07d15d56b117500cd0 /scripts
parent4bf01ce52fc91445d44cd0e993770c030ad53a68 (diff)
downloadgitlab-ce-15935833379e1852a4c767f4bba307501e018773.tar.gz
Switch back to the '--wait' flag for the 'helm upgrade' command66428-make-review-app-deployment-use-wait
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/review_apps/review-apps.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/review_apps/review-apps.sh b/scripts/review_apps/review-apps.sh
index fc5b57451de..26db4d05906 100755
--- a/scripts/review_apps/review-apps.sh
+++ b/scripts/review_apps/review-apps.sh
@@ -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 \