Skip to content
Snippets Groups Projects
Commit f8f8ed47 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Merge branch '66428-make-review-app-deployment-use-wait' into 'master'

Make Review App deployment use `--wait` instead of `--atomic` for better debugging

Closes #66428

See merge request gitlab-org/gitlab-ce!32223
parents 5c140bea 15935833
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -128,8 +128,9 @@ review-stop:
- source utils.sh
- source review-apps.sh
script:
- delete
artifacts: {}
- delete_release
artifacts:
paths: []
 
.review-qa-base:
extends:
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
@@ -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 \
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment