管道配置结构
有两个顶级的部分可以在管道配置中定义:
- 一个
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]