Commit 2cf9769d authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch '65321-review-stop-fails-when-the-branch-is-deleted-upon-merge' into 'master'

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

Closes #65321

See merge request gitlab-org/gitlab-ce!31277
parents fc09bb07 6dad5cc1
...@@ -116,17 +116,21 @@ schedule:review-deploy: ...@@ -116,17 +116,21 @@ schedule:review-deploy:
<<: *review-schedules-only <<: *review-schedules-only
review-stop: 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 stage: review
when: manual when: manual
allow_failure: true allow_failure: true
variables: variables:
GIT_DEPTH: "1" SCRIPT_NAME: review_apps/review-apps.sh
environment: environment:
<<: *review-environment <<: *review-environment
action: stop action: stop
script: 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 - delete
.review-qa-base: &review-qa-base .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