2021-04-22 02:49:02 +00:00
|
|
|
pull_request_rules:
|
2021-05-31 06:08:30 +00:00
|
|
|
- name: Test passed for code changed
|
2021-04-22 02:49:02 +00:00
|
|
|
conditions:
|
|
|
|
- base=master
|
2021-04-29 02:19:41 +00:00
|
|
|
- "status-success=Code Checker AMD64 Ubuntu 18.04"
|
|
|
|
- "status-success=Build and test AMD64 Ubuntu 18.04"
|
|
|
|
- "status-success=continuous-integration/jenkins/pr-merge"
|
2021-04-22 02:49:02 +00:00
|
|
|
actions:
|
2021-05-31 06:08:30 +00:00
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- ci-passed
|
2021-04-22 02:49:02 +00:00
|
|
|
|
2021-05-31 06:08:30 +00:00
|
|
|
- name: Test passed for tests changed
|
2021-05-12 02:36:00 +00:00
|
|
|
conditions:
|
|
|
|
- base=master
|
2021-07-02 03:40:16 +00:00
|
|
|
- -files~=^(?!tests\/python_test).+
|
2021-05-12 02:36:00 +00:00
|
|
|
- "status-success=continuous-integration/jenkins/pr-merge"
|
|
|
|
actions:
|
2021-05-31 06:08:30 +00:00
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- ci-passed
|
2021-05-12 02:36:00 +00:00
|
|
|
|
2021-06-04 02:26:53 +00:00
|
|
|
- name: Test passed for tests20 changed
|
|
|
|
conditions:
|
|
|
|
- base=master
|
|
|
|
- -files~=^(?!tests20).+
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- ci-passed
|
|
|
|
|
2021-05-31 06:08:30 +00:00
|
|
|
- name: Test passed for document changed
|
2021-04-23 02:54:53 +00:00
|
|
|
conditions:
|
|
|
|
- base=master
|
2021-05-15 05:02:31 +00:00
|
|
|
- -files~=^[^\.]+$
|
2021-04-29 02:19:41 +00:00
|
|
|
- -files~=\.(?!md|png)
|
2021-04-23 02:54:53 +00:00
|
|
|
actions:
|
2021-05-31 06:08:30 +00:00
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- ci-passed
|
2021-04-24 02:24:18 +00:00
|
|
|
|
2021-05-31 07:13:32 +00:00
|
|
|
- name: Test passed for mergify changed
|
|
|
|
conditions:
|
|
|
|
- base=master
|
|
|
|
- -files~=^(?!\.github\/mergify\.yml).*$
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- ci-passed
|
|
|
|
|
2021-05-31 06:08:30 +00:00
|
|
|
- name: Remove ci-passed when code check failed
|
2021-04-24 02:24:18 +00:00
|
|
|
conditions:
|
|
|
|
- base=master
|
2021-05-31 06:08:30 +00:00
|
|
|
- "check-failure=Code Checker AMD64 Ubuntu 18.04"
|
2021-04-24 02:24:18 +00:00
|
|
|
actions:
|
2021-05-31 06:08:30 +00:00
|
|
|
label:
|
|
|
|
remove:
|
|
|
|
- ci-passed
|
2021-04-29 02:19:41 +00:00
|
|
|
|
2021-05-31 06:08:30 +00:00
|
|
|
- name: Remove ci-passed when unittest failed
|
2021-04-29 02:19:41 +00:00
|
|
|
conditions:
|
|
|
|
- base=master
|
2021-05-31 06:08:30 +00:00
|
|
|
- "check-failure=Build and test AMD64 Ubuntu 18.04"
|
2021-04-29 02:19:41 +00:00
|
|
|
actions:
|
2021-05-31 06:08:30 +00:00
|
|
|
label:
|
|
|
|
remove:
|
|
|
|
- ci-passed
|
2021-04-29 02:19:41 +00:00
|
|
|
|
2021-05-31 06:08:30 +00:00
|
|
|
- name: Remove ci-passed when ci failed
|
2021-04-29 02:19:41 +00:00
|
|
|
conditions:
|
|
|
|
- base=master
|
2021-05-31 06:08:30 +00:00
|
|
|
- "check-failure=continuous-integration/jenkins/pr-merge"
|
2021-04-29 02:19:41 +00:00
|
|
|
actions:
|
2021-05-31 06:08:30 +00:00
|
|
|
label:
|
|
|
|
remove:
|
|
|
|
- ci-passed
|
2021-04-24 02:24:18 +00:00
|
|
|
|
2021-05-31 07:13:32 +00:00
|
|
|
- name: Remove ci-passed when ci pending
|
|
|
|
conditions:
|
|
|
|
- base=master
|
|
|
|
- "check-pending=continuous-integration/jenkins/pr-merge"
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
remove:
|
|
|
|
- ci-passed
|
|
|
|
|
2021-06-15 09:52:28 +00:00
|
|
|
# ONLY for recovery2 branch
|
2021-05-31 07:24:38 +00:00
|
|
|
- name: Test passed for code changed
|
|
|
|
conditions:
|
2021-06-15 09:52:28 +00:00
|
|
|
- base=recovery2
|
2021-05-31 07:24:38 +00:00
|
|
|
- "status-success=Code Checker AMD64 Ubuntu 18.04"
|
|
|
|
- "status-success=Build and test AMD64 Ubuntu 18.04"
|
2021-06-16 09:04:55 +00:00
|
|
|
- "status-success=continuous-integration/jenkins/pr-merge"
|
2021-05-31 07:24:38 +00:00
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- ci-passed
|