管道配置结构
有两个顶层部分可以在管道配置中定义:
- 一个
2022世界杯阿根廷预选赛赛程
节,该节指定2022世界杯阿根廷预选赛赛程由自动化管道使用。 - 一个
管道
节,该节指定管道执行环境和的步骤来执行。
为了便于说明,我们将在单个管道配置文件中描述它的样子(例如: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]