feat: .devops/未命名项目.yml

This commit is contained in:
jianmu 2023-11-29 16:38:57 +08:00
parent edf31daba6
commit 2c51f202ef
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
version: 2
name: 未命名项目
description: ""
global:
concurrent: 1
workflow:
- ref: start
name: 开始
task: start
- ref: end
name: 结束
task: end
needs:
- shell_2
- ref: shell_0
name: shell
image: docker.jianmuhub.com/library/alpine:3.17.0
script:
- date
needs:
- start
- ref: shell_1
name: shell
image: docker.jianmuhub.com/library/ubuntu:22.04
script:
- date -R
needs:
- shell_0
- ref: shell_2
name: shell
image: docker.jianmuhub.com/library/debian:buster-slim
script:
- whoami
needs:
- shell_1