Commit 6dad5cc1 authored by Rémy Coutable's avatar Rémy Coutable

Ensure review-stop can run even when the branch has been deleted

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 0149ebcc
......@@ -116,17 +116,21 @@ schedule:review-deploy:
<<: *review-schedules-only
review-stop:
<<: *review-base
<<: *review-only
extends: .single-script-job-dedicated-runner
image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base
stage: review
when: manual
allow_failure: true
variables:
GIT_DEPTH: "1"
SCRIPT_NAME: review_apps/review-apps.sh
environment:
<<: *review-environment
action: stop
script:
- source scripts/review_apps/review-apps.sh
- wget $CI_PROJECT_URL/raw/$CI_COMMIT_SHA/scripts/utils.sh
- source utils.sh
- source $(basename $SCRIPT_NAME)
- delete
.review-qa-base: &review-qa-base
......
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