mindspore/.devops/mindspore-ci-test.yml

51 lines
1.1 KiB
YAML
Raw Normal View History

2023-03-25 21:36:10 +08:00
version: 2
name: mindspore-ci-test
description: ""
global:
concurrent: 1
trigger:
webhook: gitlink@1.0.0
event:
- ref: pr
ruleset:
- param-ref: action
operator: EQ
value: "'opened'"
ruleset-operator: AND
workflow:
- ref: start
name: 开始
task: start
- ref: shell_0
name: shell
on-failure: ignore
image: zhangxunhui/mindspore-testcases:0.1.2
needs:
- start
- ref: shell_1
name: shell
on-failure: ignore
image: zhangxunhui/mindspore-cla:0.0.1
needs:
- start
- ref: dingtalk_notice_text_0
name: 钉钉通知-文本
task: dingtalk_notice_text@1.0.2
input:
boot_webhook_url: ((ding_notice.webhook))
secret: ((ding_notice.secret))
msg_text: 'shell_0.inner.execution_status === "EXECUTION_SUCCEEDED" &&
shell_1.inner.execution_status === "EXECUTION_SUCCEEDED" ? "CI build
success" : "CI build fail"'
at_user_ids: '"[]"'
at_mobiles: '"[13272099438]"'
needs:
- shell_0
- shell_1
- ref: end
name: 结束
task: end
needs:
- dingtalk_notice_text_0