where the contents of path/to/pipelines/file.yaml are:
---
pipelines: []
Expected behavior: The put step silently succeeds, having done nothing because it was configured to do nothing.
Actual behavior: The put step fails with the following error: pipelines must be provided via either pipelines or pipelines_file
Context / use-case: we have a meta-pipeline which dynamically generates pipeline configurations for a variety of Concourse targets. Sometimes, only some of the Concourse targets have configurations generated for them, leaving the resources for the other Concourse targets with nothing to put. When this happens, it is intentional, and the build should not be failed.
For the following config:
where the contents of
path/to/pipelines/file.yaml
are:Expected behavior: The
put
step silently succeeds, having done nothing because it was configured to do nothing.Actual behavior: The
put
step fails with the following error:pipelines must be provided via either pipelines or pipelines_file
Context / use-case: we have a meta-pipeline which dynamically generates pipeline configurations for a variety of Concourse targets. Sometimes, only some of the Concourse targets have configurations generated for them, leaving the resources for the other Concourse targets with nothing to put. When this happens, it is intentional, and the build should not be failed.