mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
[9.20] chg: ci: Revert Run CI danger job even if user canceled it while it was running
Unexpectedly this broke CI job generator which parses gitlab-ci.yaml and cannot handle `!reference` YAML tags. This reverts merge request !10490 Backport of MR !10540 Merge branch 'backport-revert-0a1a599f-9.20' into 'bind-9.20' See merge request isc-projects/bind9!10541
This commit is contained in:
@@ -676,10 +676,6 @@ danger:
|
|||||||
script:
|
script:
|
||||||
- pip install git+https://gitlab.isc.org/isc-projects/hazard.git
|
- pip install git+https://gitlab.isc.org/isc-projects/hazard.git
|
||||||
- hazard
|
- hazard
|
||||||
after_script:
|
|
||||||
# insist on running danger job even if user canceled it while it was running
|
|
||||||
- test "$CI_JOB_STATUS" != "canceled" && exit 0
|
|
||||||
- !reference [danger, script]
|
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user