mirror of https://github.com/milvus-io/milvus.git
enhance: [skip e2e] add a rule to label ci-pass when go-sdk check status (#36105)
Signed-off-by: Yellow Shine <sammy.huang@zilliz.com>pull/36125/head
parent
3123093dd7
commit
73a34a5a71
|
@ -7,6 +7,9 @@ misc:
|
|||
- when_build_and_test_status_failed: &Build_AND_TEST_STATUS_FAILED_ON_UBUNTU_20_OR_UBUNTU_22
|
||||
- &failed_on_ubuntu_20 'check-failure=Build and test AMD64 Ubuntu 20.04'
|
||||
- &failed_on_ubuntu_22 'check-failure=Build and test AMD64 Ubuntu 22.04'
|
||||
- when_go_sdk_status_success: &WHEN_GO_SDK_STATUS_SUCCESS
|
||||
- 'status-success=go-sdk'
|
||||
- 'status-success=milvus-sdk-go '
|
||||
|
||||
pull_request_rules:
|
||||
- name: Add needs-dco label when DCO check failed
|
||||
|
@ -47,6 +50,7 @@ pull_request_rules:
|
|||
- base=master
|
||||
- base~=^2(\.\d+){1,2}$
|
||||
- or: *Build_AND_TEST_STATUS_SUCESS_ON_UBUNTU_20_OR_UBUNTU_22
|
||||
- or: *WHEN_GO_SDK_STATUS_SUCCESS
|
||||
- 'status-success=UT for Cpp'
|
||||
- 'status-success=UT for Go'
|
||||
- 'status-success=Integration Test'
|
||||
|
@ -377,6 +381,18 @@ pull_request_rules:
|
|||
message: |
|
||||
@{{author}} E2e jenkins job failed, comment `/run-cpu-e2e` can trigger the job again.
|
||||
|
||||
- name: Add comment when go-sdk check failed
|
||||
conditions:
|
||||
- or:
|
||||
- base=master
|
||||
- base=sql_beta
|
||||
- base~=^2(\.\d+){1,2}$
|
||||
- 'check-failure=go-sdk'
|
||||
actions:
|
||||
comment:
|
||||
message: |
|
||||
@{{author}} go-sdk check failed, comment `rerun go-sdk` can trigger the job again.
|
||||
|
||||
- name: Add comment when code checker or ut failed -master
|
||||
conditions:
|
||||
- or:
|
||||
|
|
Loading…
Reference in New Issue