Type object
File match pipeline.yaml pipeline.yml **/.erda/pipelines/*.yaml **/.erda/pipelines/*.yml **/.dice/pipelines/*.yaml **/.dice/pipelines/*.yml
Schema URL https://catalog.lintel.tools/schemas/schemastore/erda-pipeline/latest.json
Source https://raw.githubusercontent.com/erda-project/erda/master/.erda/schemas/pipeline.yaml.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

$schema string
Default: "https://github.com/erda-project/erda/raw/master/.erda/schemas/pipeline.yaml.json"
version string

pipeline.yml 语法规范版本

Default: "1.1"
name string
on object
2 nested properties
push object
2 nested properties
branches string[]
tags string[]
merge object
1 nested properties
branches string[]
triggers
2 nested properties
on string
filter Record<string, string>
storage object
1 nested properties
context string
envs Record<string, string>
cron string
cron_compensator object
3 nested properties
enable boolean
latest_first boolean
stop_if_latter_executed boolean
stages Stage[]

步骤

流水线参数

输出

lifecycle NetworkHookInfo[]

生命周期

breakpoint object
2 nested properties
on object
1 nested properties
failure string
timeout

Definitions

TriggerConfig object
push object
2 nested properties
branches string[]
tags string[]
merge object
1 nested properties
branches string[]
PipelineTrigger
on string
filter Record<string, string>
StorageConfig object
context string
CronCompensator object
enable boolean
latest_first boolean
stop_if_latter_executed boolean
Stage object
PipelineParam object
name string
required boolean
default
desc string
type string
PipelineOutput object
name string
desc string
ref string
NetworkHookInfo object
hook string
client string
labels object
Breakpoint object
on object
1 nested properties
failure string
timeout
PushTrigger object
branches string[]
tags string[]
MergeTrigger object
branches string[]
typedActionMap Record<string, object>
BreakpointOn object
failure string
Action object
key string
path string