Erda Pipeline
Erda Pipeline Configuration File
| 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
version
string
pipeline.yml 语法规范版本
name
string
on
object
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[]
步骤
params
PipelineParam[]
流水线参数
outputs
PipelineOutput[]
输出
lifecycle
NetworkHookInfo[]
生命周期
Definitions
TriggerConfig
object
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
stage
typedActionMap[]
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