Today in Tekton, tasks that consume files must operate on a typed Input resource, usually of Type Git
or Storage
.
This leads to a few problems:
- Tasks must choose which to support, when both should be equivalent
- Pipelines of Tasks that operate on specific files must invent out-of-band mechanisms to specify which files to operate on
Ideally, Tasks that operate on Files would have a more generic type of resource that can be populated from various sources, and Tasks should not need to communicate about file paths or names out-of-band.
This proposal details a FileSet Pipeline Resource designed to achieve these goals.