Not covered: the ability to use extends
Given a sub_pipe.yml with
parameters:
- name: warcry
type: string
...
stages:
...This can be "extended" in another via
trigger: ...
parameters:
...
pool:
...
name: ...
extends:
template: sub_pipe.yml
parameters:
warcry: "oopsies!"Note: only one pipeline can be extended
To multi-import, the target must be a stages file, with no pool/name/trigger
trigger: ...
parameters:
...
pool:
...
name: ...
stages:
# the sub pipes are just `stages` holders, and cannot have their own "trigger" statements etc
- template: sub_pipe.yml
parameters:
warcry: "oopsies!"
- template: sub_pipe2.yml
parameters:
response: "oh noes!"