mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 19:22:51 +00:00
ci: remove review stage on merge trains
This commit is contained in:
@@ -148,7 +148,7 @@ audit:
|
||||
scheduled-audit:
|
||||
stage: test
|
||||
script:
|
||||
- npm audit
|
||||
- npm audit --production
|
||||
only:
|
||||
- schedules
|
||||
|
||||
@@ -178,9 +178,8 @@ review:
|
||||
on_stop: stop_review
|
||||
tags:
|
||||
- secrecy
|
||||
except:
|
||||
- master
|
||||
- develop
|
||||
rules:
|
||||
- if: ($CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_REF_NAME != "master" && $CI_MERGE_REQUEST_EVENT_TYPE != "merge_train" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web"))
|
||||
|
||||
stop_review:
|
||||
stage: deploy
|
||||
@@ -192,6 +191,8 @@ stop_review:
|
||||
action: stop
|
||||
tags:
|
||||
- secrecy
|
||||
rules:
|
||||
- if: ($CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_REF_NAME != "master" && $CI_MERGE_REQUEST_EVENT_TYPE != "merge_train" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web"))
|
||||
|
||||
staging:
|
||||
stage: deploy
|
||||
|
||||
Reference in New Issue
Block a user