Compare commits

...

3 Commits

2 changed files with 45 additions and 0 deletions

25
.devops/trigger触发.yml Normal file
View File

@ -0,0 +1,25 @@
version: 2
name: trigger触发
description: ""
global:
concurrent: 1
trigger:
webhook: gitlink@1.0.0
event:
- ref: push
ruleset-operator: AND
workflow:
- ref: start
name: 开始
task: start
- ref: shell_0
name: shell
image: docker.jianmuhub.com/library/alpine:3.17.0
needs:
- start
- ref: end
name: 结束
task: end
needs:
- shell_0

View File

@ -0,0 +1,20 @@
version: 2
name: 未命名项目
description: ""
global:
concurrent: 1
workflow:
- ref: start
name: 开始
task: start
- ref: shell_0
name: shell
image: docker.jianmuhub.com/library/ubuntu:22.04
needs:
- start
- ref: end
name: 结束
task: end
needs:
- shell_0