Pipeline Config Structure
There are two top-levelsectionsthat can be defined in a pipeline config:
- A
2022世界杯阿根廷预选赛赛程section that specifies the2022世界杯阿根廷预选赛赛程used by the automated pipeline. - A
pipelinessection that specifies the pipeline execution environment andtheStepsto execute.
For ease of illustration, we'll describe how this looks in a single pipeline config file (e.g.,pipelines.yml).
Pipeline Config File (YAML)
resources:
- name: resource-1
type: [resource-type]
configuration:
[resource settings]
- name: resource-2
type: [resource-type]
configuration:
[resource settings]
pipelines:
- name: my_pipeline
configuration:
[environment and runtime settings]
- name: step-name
type: [step type]
configuration:
inputResources:
[triggering resource]
[step settings]
execute:
[shell commands to execute on condition]
- name: step-name
type: [step type]
configuration:
inputResources:
[triggering resource]
[step settings]
execute:
[shell commands to execute on condition]
