Pipeline Resource types
PipelineResources
are a set of objects that are used as inputs to a Task
and can be output by a Task
. A Task
can have multiple inputs and outputs.
The following PipelineResources
are currently supported:
-
Git Resource
-
Pull Request Resource
-
Image Resource
-
Cluster Resource
To define a configuration file for PipelineResources
, you must specify the following fields:
Required:
-
apiVersion
- Specifies the API version. -
kind
- Specifies thePipelineResource
resource object. -
metadata
- Specifies data to uniquely identify thePipelineResource
object, for example aname
. -
spec
- Specifies the configuration information for thePipelineResource
object. -
type
- Specifies thetype
ofPipelineResource
.
Optional:
-
params
- Parameters which are specific to each type ofPipelineResource
.