tekton.dev
group
Pipeline describes a list of Tasks to execute. It expresses how outputs of tasks feed into inputs of subsequent tasks.
v1
versionobject
Spec holds the desired state of the Pipeline from the client
string
Description is a user-facing description of the pipeline that may be used to populate a UI.
string
DisplayName is a user-facing name of the pipeline that may be used to populate a UI.
[]object
PipelineTask defines a task in a Pipeline, passing inputs from both Params and from the output of previous tasks.
string
Description is the description of this task within the context of a Pipeline. This description may be used to populate a UI.
string
DisplayName is the display name of this task within the context of a Pipeline. This display name may be used to populate a UI.
object
Matrix declares parameters used to fan out this task.
[]object
IncludeParams allows passing in a specific combinations of Parameters into the Matrix.
string
Name the specified combination
[]object
Param declares an ParamValues to use for the parameter called name.
string
required[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredstring
Name is the name of this task within the context of a Pipeline. Name is
used as a coordinate with the from
and runAfter
fields to establish
the execution order of tasks relative to one another.
string
OnError defines the exiting behavior of a PipelineRun on error can be set to [ continue | stopAndFail ]
[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredobject
PipelineRef is a reference to a pipeline definition Note: PipelineRef is in preview mode and not yet supported
string
API version of the referent
string
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredstring
Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as "git".
PipelineSpec is a specification of a pipeline
Note: PipelineSpec is in preview mode and not yet supported
Specifying PipelineSpec can be disabled by setting
disable-inline-spec
feature flag.
See Pipeline.spec (API version: tekton.dev/v1)
integer
Retries represents how many times this task should be retried in case of task failure: ConditionSucceeded set to False
[]string
RunAfter is the list of PipelineTask names that should be executed before this Task executes. (Used to force a specific ordering in graph execution.)
object
TaskRef is a reference to a task definition.
string
API version of the referent Note: A Task with non-empty APIVersion and Kind is considered a Custom Task
string
TaskKind indicates the Kind of the Task:
string
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredstring
Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as "git".
TaskSpec is a specification of a task
Specifying TaskSpec can be disabled by setting
disable-inline-spec
feature flag.
See Task.spec (API version: tekton.dev/v1)
string
Time after which the TaskRun times out. Defaults to 1 hour. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration
[]object
WhenExpression allows a PipelineTask to declare expressions to be evaluated before the Task is run to determine whether the Task should be executed or skipped
string
CEL is a string of Common Language Expression, which can be used to conditionally execute the task based on the result of the expression evaluation More info about CEL syntax: https://github.com/google/cel-spec/blob/master/doc/langdef.md
string
Input is the string for guard checking which can be a static input or an output from a parent Task
string
Operator that represents an Input's relationship to the values
[]string
Values is an array of strings, which is compared against the input, for guard checking It must be non-empty
[]object
WorkspacePipelineTaskBinding describes how a workspace passed into the pipeline should be mapped to a task's declared workspace.
string
requiredName is the name of the workspace as declared by the task
string
SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory).
string
Workspace is the name of the workspace declared by the pipeline
[]object
ParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources). Parameter values are provided by users as inputs on a TaskRun or PipelineRun.
Default is the value a parameter takes if no input value is supplied. If default is set, a Task may be executed without a supplied value for the parameter.
string
Description is a user-facing description of the parameter that may be used to populate a UI.
[]string
Enum declares a set of allowed param input values for tasks/pipelines that can be validated. If Enum is not set, no input validation is performed for the param.
string
requiredName declares the name by which a parameter is referenced.
object
Properties is the JSON Schema properties to support key-value pairs parameter.
string
Type is the user-specified type of the parameter. The possible types are currently "string", "array" and "object", and "string" is the default.
[]object
PipelineResult used to describe the results of a pipeline
string
Description is a human-readable description of the result
string
requiredName the given name
string
Type is the user-specified type of the result. The possible types are 'string', 'array', and 'object', with 'string' as the default. 'array' and 'object' types are alpha features.
Value the expression used to retrieve the value
[]object
PipelineTask defines a task in a Pipeline, passing inputs from both Params and from the output of previous tasks.
string
Description is the description of this task within the context of a Pipeline. This description may be used to populate a UI.
string
DisplayName is the display name of this task within the context of a Pipeline. This display name may be used to populate a UI.
object
Matrix declares parameters used to fan out this task.
[]object
IncludeParams allows passing in a specific combinations of Parameters into the Matrix.
string
Name the specified combination
[]object
Param declares an ParamValues to use for the parameter called name.
string
required[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredstring
Name is the name of this task within the context of a Pipeline. Name is
used as a coordinate with the from
and runAfter
fields to establish
the execution order of tasks relative to one another.
string
OnError defines the exiting behavior of a PipelineRun on error can be set to [ continue | stopAndFail ]
[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredobject
PipelineRef is a reference to a pipeline definition Note: PipelineRef is in preview mode and not yet supported
string
API version of the referent
string
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredstring
Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as "git".
PipelineSpec is a specification of a pipeline
Note: PipelineSpec is in preview mode and not yet supported
Specifying PipelineSpec can be disabled by setting
disable-inline-spec
feature flag.
See Pipeline.spec (API version: tekton.dev/v1)
integer
Retries represents how many times this task should be retried in case of task failure: ConditionSucceeded set to False
[]string
RunAfter is the list of PipelineTask names that should be executed before this Task executes. (Used to force a specific ordering in graph execution.)
object
TaskRef is a reference to a task definition.
string
API version of the referent Note: A Task with non-empty APIVersion and Kind is considered a Custom Task
string
TaskKind indicates the Kind of the Task:
string
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredstring
Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as "git".
TaskSpec is a specification of a task
Specifying TaskSpec can be disabled by setting
disable-inline-spec
feature flag.
See Task.spec (API version: tekton.dev/v1)
string
Time after which the TaskRun times out. Defaults to 1 hour. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration
[]object
WhenExpression allows a PipelineTask to declare expressions to be evaluated before the Task is run to determine whether the Task should be executed or skipped
string
CEL is a string of Common Language Expression, which can be used to conditionally execute the task based on the result of the expression evaluation More info about CEL syntax: https://github.com/google/cel-spec/blob/master/doc/langdef.md
string
Input is the string for guard checking which can be a static input or an output from a parent Task
string
Operator that represents an Input's relationship to the values
[]string
Values is an array of strings, which is compared against the input, for guard checking It must be non-empty
[]object
WorkspacePipelineTaskBinding describes how a workspace passed into the pipeline should be mapped to a task's declared workspace.
string
requiredName is the name of the workspace as declared by the task
string
SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory).
string
Workspace is the name of the workspace declared by the pipeline
[]object
PipelineWorkspaceDeclaration creates a named slot in a Pipeline that a PipelineRun is expected to populate with a workspace binding.
string
Description is a human readable string describing how the workspace will be used in the Pipeline. It can be useful to include a bit of detail about which tasks are intended to have access to the data on the workspace.
string
requiredName is the name of a workspace to be provided by a PipelineRun.
boolean
Optional marks a Workspace as not being required in PipelineRuns. By default this field is false and so declared workspaces are required.
Pipeline describes a list of Tasks to execute. It expresses how outputs of tasks feed into inputs of subsequent tasks.
Deprecated: Please use v1.Pipeline instead.
v1beta1
versionobject
Spec holds the desired state of the Pipeline from the client
string
Description is a user-facing description of the pipeline that may be used to populate a UI.
string
DisplayName is a user-facing name of the pipeline that may be used to populate a UI.
[]object
PipelineTask defines a task in a Pipeline, passing inputs from both Params and from the output of previous tasks.
string
Description is the description of this task within the context of a Pipeline. This description may be used to populate a UI.
string
DisplayName is the display name of this task within the context of a Pipeline. This display name may be used to populate a UI.
object
Matrix declares parameters used to fan out this task.
[]object
IncludeParams allows passing in a specific combinations of Parameters into the Matrix.
string
Name the specified combination
[]object
Param declares an ParamValues to use for the parameter called name.
string
required[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredstring
Name is the name of this task within the context of a Pipeline. Name is
used as a coordinate with the from
and runAfter
fields to establish
the execution order of tasks relative to one another.
string
OnError defines the exiting behavior of a PipelineRun on error can be set to [ continue | stopAndFail ]
[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredobject
PipelineRef is a reference to a pipeline definition Note: PipelineRef is in preview mode and not yet supported
string
API version of the referent
string
Bundle url reference to a Tekton Bundle.
Deprecated: Please use ResolverRef with the bundles resolver instead. The field is staying there for go client backward compatibility, but is not used/allowed anymore.
string
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredstring
Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as "git".
PipelineSpec is a specification of a pipeline
Note: PipelineSpec is in preview mode and not yet supported
Specifying PipelineSpec can be disabled by setting
disable-inline-spec
feature flag.
See Pipeline.spec (API version: tekton.dev/v1beta1)
object
Deprecated: Unused, preserved only for backwards compatibility
[]object
PipelineTaskInputResource maps the name of a declared PipelineResource input dependency in a Task to the resource in the Pipeline's DeclaredPipelineResources that should be used. This input may come from a previous task.
Deprecated: Unused, preserved only for backwards compatibility
[]string
From is the list of PipelineTask names that the resource has to come from. (Implies an ordering in the execution graph.)
string
requiredName is the name of the PipelineResource as declared by the Task.
string
requiredResource is the name of the DeclaredPipelineResource to use.
[]object
PipelineTaskOutputResource maps the name of a declared PipelineResource output dependency in a Task to the resource in the Pipeline's DeclaredPipelineResources that should be used.
Deprecated: Unused, preserved only for backwards compatibility
string
requiredName is the name of the PipelineResource as declared by the Task.
string
requiredResource is the name of the DeclaredPipelineResource to use.
integer
Retries represents how many times this task should be retried in case of task failure: ConditionSucceeded set to False
[]string
RunAfter is the list of PipelineTask names that should be executed before this Task executes. (Used to force a specific ordering in graph execution.)
object
TaskRef is a reference to a task definition.
string
API version of the referent Note: A Task with non-empty APIVersion and Kind is considered a Custom Task
string
Bundle url reference to a Tekton Bundle.
Deprecated: Please use ResolverRef with the bundles resolver instead. The field is staying there for go client backward compatibility, but is not used/allowed anymore.
string
TaskKind indicates the Kind of the Task:
string
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredstring
Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as "git".
TaskSpec is a specification of a task
Specifying TaskSpec can be disabled by setting
disable-inline-spec
feature flag.
See Task.spec (API version: tekton.dev/v1beta1)
string
Time after which the TaskRun times out. Defaults to 1 hour. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration
[]object
WhenExpression allows a PipelineTask to declare expressions to be evaluated before the Task is run to determine whether the Task should be executed or skipped
string
CEL is a string of Common Language Expression, which can be used to conditionally execute the task based on the result of the expression evaluation More info about CEL syntax: https://github.com/google/cel-spec/blob/master/doc/langdef.md
string
Input is the string for guard checking which can be a static input or an output from a parent Task
string
Operator that represents an Input's relationship to the values
[]string
Values is an array of strings, which is compared against the input, for guard checking It must be non-empty
[]object
WorkspacePipelineTaskBinding describes how a workspace passed into the pipeline should be mapped to a task's declared workspace.
string
requiredName is the name of the workspace as declared by the task
string
SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory).
string
Workspace is the name of the workspace declared by the pipeline
[]object
ParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources). Parameter values are provided by users as inputs on a TaskRun or PipelineRun.
Default is the value a parameter takes if no input value is supplied. If default is set, a Task may be executed without a supplied value for the parameter.
string
Description is a user-facing description of the parameter that may be used to populate a UI.
[]string
Enum declares a set of allowed param input values for tasks/pipelines that can be validated. If Enum is not set, no input validation is performed for the param.
string
requiredName declares the name by which a parameter is referenced.
object
Properties is the JSON Schema properties to support key-value pairs parameter.
string
Type is the user-specified type of the parameter. The possible types are currently "string", "array" and "object", and "string" is the default.
[]object
PipelineDeclaredResource is used by a Pipeline to declare the types of the PipelineResources that it will required to run and names which can be used to refer to these PipelineResources in PipelineTaskResourceBindings.
Deprecated: Unused, preserved only for backwards compatibility
string
requiredName is the name that will be used by the Pipeline to refer to this resource. It does not directly correspond to the name of any PipelineResources Task inputs or outputs, and it does not correspond to the actual names of the PipelineResources that will be bound in the PipelineRun.
boolean
Optional declares the resource as optional. optional: true - the resource is considered optional optional: false - the resource is considered required (default/equivalent of not specifying it)
string
requiredType is the type of the PipelineResource.
[]object
PipelineResult used to describe the results of a pipeline
string
Description is a human-readable description of the result
string
requiredName the given name
string
Type is the user-specified type of the result. The possible types are 'string', 'array', and 'object', with 'string' as the default. 'array' and 'object' types are alpha features.
Value the expression used to retrieve the value
[]object
PipelineTask defines a task in a Pipeline, passing inputs from both Params and from the output of previous tasks.
string
Description is the description of this task within the context of a Pipeline. This description may be used to populate a UI.
string
DisplayName is the display name of this task within the context of a Pipeline. This display name may be used to populate a UI.
object
Matrix declares parameters used to fan out this task.
[]object
IncludeParams allows passing in a specific combinations of Parameters into the Matrix.
string
Name the specified combination
[]object
Param declares an ParamValues to use for the parameter called name.
string
required[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredstring
Name is the name of this task within the context of a Pipeline. Name is
used as a coordinate with the from
and runAfter
fields to establish
the execution order of tasks relative to one another.
string
OnError defines the exiting behavior of a PipelineRun on error can be set to [ continue | stopAndFail ]
[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredobject
PipelineRef is a reference to a pipeline definition Note: PipelineRef is in preview mode and not yet supported
string
API version of the referent
string
Bundle url reference to a Tekton Bundle.
Deprecated: Please use ResolverRef with the bundles resolver instead. The field is staying there for go client backward compatibility, but is not used/allowed anymore.
string
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredstring
Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as "git".
PipelineSpec is a specification of a pipeline
Note: PipelineSpec is in preview mode and not yet supported
Specifying PipelineSpec can be disabled by setting
disable-inline-spec
feature flag.
See Pipeline.spec (API version: tekton.dev/v1beta1)
object
Deprecated: Unused, preserved only for backwards compatibility
[]object
PipelineTaskInputResource maps the name of a declared PipelineResource input dependency in a Task to the resource in the Pipeline's DeclaredPipelineResources that should be used. This input may come from a previous task.
Deprecated: Unused, preserved only for backwards compatibility
[]string
From is the list of PipelineTask names that the resource has to come from. (Implies an ordering in the execution graph.)
string
requiredName is the name of the PipelineResource as declared by the Task.
string
requiredResource is the name of the DeclaredPipelineResource to use.
[]object
PipelineTaskOutputResource maps the name of a declared PipelineResource output dependency in a Task to the resource in the Pipeline's DeclaredPipelineResources that should be used.
Deprecated: Unused, preserved only for backwards compatibility
string
requiredName is the name of the PipelineResource as declared by the Task.
string
requiredResource is the name of the DeclaredPipelineResource to use.
integer
Retries represents how many times this task should be retried in case of task failure: ConditionSucceeded set to False
[]string
RunAfter is the list of PipelineTask names that should be executed before this Task executes. (Used to force a specific ordering in graph execution.)
object
TaskRef is a reference to a task definition.
string
API version of the referent Note: A Task with non-empty APIVersion and Kind is considered a Custom Task
string
Bundle url reference to a Tekton Bundle.
Deprecated: Please use ResolverRef with the bundles resolver instead. The field is staying there for go client backward compatibility, but is not used/allowed anymore.
string
TaskKind indicates the Kind of the Task:
string
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
[]object
Param declares an ParamValues to use for the parameter called name.
string
requiredstring
Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as "git".
TaskSpec is a specification of a task
Specifying TaskSpec can be disabled by setting
disable-inline-spec
feature flag.
See Task.spec (API version: tekton.dev/v1beta1)
string
Time after which the TaskRun times out. Defaults to 1 hour. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration
[]object
WhenExpression allows a PipelineTask to declare expressions to be evaluated before the Task is run to determine whether the Task should be executed or skipped
string
CEL is a string of Common Language Expression, which can be used to conditionally execute the task based on the result of the expression evaluation More info about CEL syntax: https://github.com/google/cel-spec/blob/master/doc/langdef.md
string
Input is the string for guard checking which can be a static input or an output from a parent Task
string
Operator that represents an Input's relationship to the values
[]string
Values is an array of strings, which is compared against the input, for guard checking It must be non-empty
[]object
WorkspacePipelineTaskBinding describes how a workspace passed into the pipeline should be mapped to a task's declared workspace.
string
requiredName is the name of the workspace as declared by the task
string
SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory).
string
Workspace is the name of the workspace declared by the pipeline
[]object
PipelineWorkspaceDeclaration creates a named slot in a Pipeline that a PipelineRun is expected to populate with a workspace binding.
string
Description is a human readable string describing how the workspace will be used in the Pipeline. It can be useful to include a bit of detail about which tasks are intended to have access to the data on the workspace.
string
requiredName is the name of a workspace to be provided by a PipelineRun.
boolean
Optional marks a Workspace as not being required in PipelineRuns. By default this field is false and so declared workspaces are required.