Tekton Pipeline
Defines a graph of Tasks that execute sequentially or in parallel to define a CI/CD workflow in Tekton Pipelines
Versions
Validate with Lintel
npx @lintel/lintel check
Type:
Pipeline
Definitions
AWSElasticBlockStoreVolumeSource
object
volumeID
string
required
fsType
string
partition
integer
readOnly
boolean
AzureDiskVolumeSource
object
diskName
string
required
diskURI
string
required
cachingMode
string
fsType
string
readOnly
boolean
kind
string
AzureFileVolumeSource
object
secretName
string
required
shareName
string
required
readOnly
boolean
CSIVolumeSource
object
driver
string
required
readOnly
boolean
fsType
string
volumeAttributes
object
nodePublishSecretRef
object
1 nested properties
name
string
Capabilities
object
add
string[]
drop
string[]
CephFSVolumeSource
object
monitors
string[]
required
path
string
user
string
secretFile
string
secretRef
object
1 nested properties
name
string
readOnly
boolean
CinderVolumeSource
object
volumeID
string
required
fsType
string
readOnly
boolean
secretRef
object
1 nested properties
name
string
ConfigMapEnvSource
object
name
string
optional
boolean
ConfigMapKeySelector
object
key
string
required
name
string
optional
boolean
ConfigMapProjection
object
ConfigMapVolumeSource
object
ContainerPort
object
containerPort
integer
required
name
string
hostPort
integer
protocol
string
hostIP
string
DownwardAPIProjection
object
items
DownwardAPIVolumeFile[]
DownwardAPIVolumeFile
object
DownwardAPIVolumeSource
object
items
DownwardAPIVolumeFile[]
defaultMode
integer
EmbeddedTask
object
apiVersion
string
kind
string
spec
object
metadata
object
2 nested properties
labels
object
annotations
object
params
ParamSpec[]
displayName
string
description
string
steps
Step[]
volumes
Volume[]
stepTemplate
object
11 nested properties
image
string
command
string[]
args
string[]
workingDir
string
envFrom
EnvFromSource[]
env
EnvVar[]
computeResources
object
3 nested properties
volumeMounts
VolumeMount[]
volumeDevices
VolumeDevice[]
imagePullPolicy
string
sidecars
Sidecar[]
workspaces
WorkspaceDeclaration[]
results
TaskResult[]
EmptyDirVolumeSource
object
medium
string
sizeLimit
string | number
EnvFromSource
object
EnvVar
object
name
string
required
value
string
valueFrom
object
4 nested properties
fieldRef
object
2 nested properties
fieldPath
string
required
apiVersion
string
resourceFieldRef
object
3 nested properties
resource
string
required
containerName
string
divisor
string | number
configMapKeyRef
object
3 nested properties
key
string
required
name
string
optional
boolean
secretKeyRef
object
3 nested properties
key
string
required
name
string
optional
boolean
EnvVarSource
object
fieldRef
object
2 nested properties
fieldPath
string
required
apiVersion
string
resourceFieldRef
object
3 nested properties
resource
string
required
containerName
string
divisor
string | number
configMapKeyRef
object
3 nested properties
key
string
required
name
string
optional
boolean
secretKeyRef
object
3 nested properties
key
string
required
name
string
optional
boolean
EphemeralVolumeSource
object
volumeClaimTemplate
object
2 nested properties
metadata
object
15 nested properties
name
string
generateName
string
namespace
string
selfLink
string
uid
string
resourceVersion
string
generation
integer
creationTimestamp
string
format=data-time
deletionTimestamp
string
format=data-time
deletionGracePeriodSeconds
integer
labels
object
annotations
object
ownerReferences
OwnerReference[]
finalizers
string[]
managedFields
ManagedFieldsEntry[]
ExecAction
object
command
string[]
FCVolumeSource
object
targetWWNs
string[]
lun
integer
fsType
string
readOnly
boolean
wwids
string[]
FlexVolumeSource
object
driver
string
required
fsType
string
secretRef
object
1 nested properties
name
string
readOnly
boolean
options
object
FlockerVolumeSource
object
datasetName
string
datasetUUID
string
GCEPersistentDiskVolumeSource
object
pdName
string
required
fsType
string
partition
integer
readOnly
boolean
GRPCAction
object
port
integer
required
service
string
required
GitRepoVolumeSource
object
repository
string
required
revision
string
directory
string
GlusterfsVolumeSource
object
endpoints
string
required
path
string
required
readOnly
boolean
HTTPGetAction
object
3 nested properties
Type
integer
required
IntVal
integer
required
StrVal
string
required
path
string
host
string
scheme
string
httpHeaders
HTTPHeader[]
HTTPHeader
object
name
string
required
value
string
required
HostPathVolumeSource
object
path
string
required
type
string
ISCSIVolumeSource
object
targetPortal
string
required
iqn
string
required
lun
integer
required
iscsiInterface
string
fsType
string
readOnly
boolean
portals
string[]
chapAuthDiscovery
boolean
chapAuthSession
boolean
secretRef
object
1 nested properties
name
string
initiatorName
string
IncludeParams
object
name
string
params
Param[]
IntOrString
object
Type
integer
required
IntVal
integer
required
StrVal
string
required
KeyToPath
object
key
string
required
path
string
required
mode
integer
LabelSelector
object
matchLabels
object
matchExpressions
LabelSelectorRequirement[]
LabelSelectorRequirement
object
key
string
required
operator
string
required
values
string[]
Lifecycle
object
postStart
object
LifecycleHandler
object
exec
object
1 nested properties
command
string[]
httpGet
object
5 nested properties
3 nested properties
Type
integer
required
IntVal
integer
required
StrVal
string
required
path
string
host
string
scheme
string
httpHeaders
HTTPHeader[]
LocalObjectReference
object
name
string
ManagedFieldsEntry
object
manager
string
operation
string
apiVersion
string
time
string
format=data-time
fieldsType
string
fieldsV1
object
subresource
string
Matrix
object
params
Param[]
include
IncludeParams[]
NFSVolumeSource
object
server
string
required
path
string
required
readOnly
boolean
ObjectFieldSelector
object
fieldPath
string
required
apiVersion
string
ObjectMeta
object
name
string
generateName
string
namespace
string
selfLink
string
uid
string
resourceVersion
string
generation
integer
creationTimestamp
string
format=data-time
deletionTimestamp
string
format=data-time
deletionGracePeriodSeconds
integer
labels
object
annotations
object
ownerReferences
OwnerReference[]
finalizers
string[]
managedFields
ManagedFieldsEntry[]
OwnerReference
object
apiVersion
string
required
kind
string
required
name
string
required
uid
string
required
controller
boolean
blockOwnerDeletion
boolean
Param
object
name
string
required
value
string | string[]
required
ParamSpec
object
name
string
required
type
string
description
string
properties
object
default
string | string[]
enum
string[]
PersistentVolumeClaimSpec
object
accessModes
string[]
selector
object
2 nested properties
matchLabels
object
matchExpressions
LabelSelectorRequirement[]
resources
object
3 nested properties
volumeName
string
storageClassName
string
volumeMode
string
dataSource
object
3 nested properties
apiGroup
string
required
kind
string
required
name
string
required
dataSourceRef
object
4 nested properties
apiGroup
string
required
kind
string
required
name
string
required
namespace
string
PersistentVolumeClaimTemplate
object
8 nested properties
accessModes
string[]
selector
object
2 nested properties
matchLabels
object
matchExpressions
LabelSelectorRequirement[]
resources
object
3 nested properties
volumeName
string
storageClassName
string
volumeMode
string
dataSource
object
3 nested properties
apiGroup
string
required
kind
string
required
name
string
required
dataSourceRef
object
4 nested properties
apiGroup
string
required
kind
string
required
name
string
required
namespace
string
metadata
object
15 nested properties
name
string
generateName
string
namespace
string
selfLink
string
uid
string
resourceVersion
string
generation
integer
creationTimestamp
string
format=data-time
deletionTimestamp
string
format=data-time
deletionGracePeriodSeconds
integer
labels
object
annotations
object
ownerReferences
OwnerReference[]
finalizers
string[]
managedFields
ManagedFieldsEntry[]
PersistentVolumeClaimVolumeSource
object
claimName
string
required
readOnly
boolean
PhotonPersistentDiskVolumeSource
object
pdID
string
required
fsType
string
Pipeline
object
7 nested properties
displayName
string
description
string
tasks
PipelineTask[]
params
ParamSpec[]
workspaces
PipelineWorkspaceDeclaration[]
results
PipelineResult[]
finally
PipelineTask[]
kind
string
apiVersion
string
metadata
object
15 nested properties
name
string
generateName
string
namespace
string
selfLink
string
uid
string
resourceVersion
string
generation
integer
creationTimestamp
string
format=data-time
deletionTimestamp
string
format=data-time
deletionGracePeriodSeconds
integer
labels
object
annotations
object
ownerReferences
OwnerReference[]
finalizers
string[]
managedFields
ManagedFieldsEntry[]
PipelineRef
object
PipelineResult
object
name
string
required
description
string
required
value
string | string[]
required
type
string
PipelineSpec
object
displayName
string
description
string
tasks
PipelineTask[]
params
ParamSpec[]
workspaces
PipelineWorkspaceDeclaration[]
results
PipelineResult[]
finally
PipelineTask[]
PipelineTask
object
name
string
displayName
string
description
string
taskRef
object
5 nested properties
taskSpec
object
13 nested properties
apiVersion
string
kind
string
spec
object
metadata
object
2 nested properties
labels
object
annotations
object
params
ParamSpec[]
displayName
string
description
string
steps
Step[]
volumes
Volume[]
stepTemplate
object
11 nested properties
image
string
command
string[]
args
string[]
workingDir
string
envFrom
EnvFromSource[]
env
EnvVar[]
computeResources
object
volumeMounts
VolumeMount[]
volumeDevices
VolumeDevice[]
imagePullPolicy
string
securityContext
object
sidecars
Sidecar[]
workspaces
WorkspaceDeclaration[]
results
TaskResult[]
when
object | object[]
retries
integer
runAfter
string[]
params
Param[]
matrix
object
2 nested properties
params
Param[]
include
IncludeParams[]
workspaces
WorkspacePipelineTaskBinding[]
timeout
string
pattern=^[-+]?([0-9]*(\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$
pipelineSpec
object
7 nested properties
displayName
string
description
string
tasks
PipelineTask[]
params
ParamSpec[]
workspaces
PipelineWorkspaceDeclaration[]
results
PipelineResult[]
finally
PipelineTask[]
onError
string
PipelineTaskMetadata
object
labels
object
annotations
object
PipelineWorkspaceDeclaration
object
name
string
required
description
string
optional
boolean
PortworxVolumeSource
object
volumeID
string
required
fsType
string
readOnly
boolean
Probe
object
exec
object
1 nested properties
command
string[]
httpGet
object
5 nested properties
3 nested properties
Type
integer
required
IntVal
integer
required
StrVal
string
required
path
string
host
string
scheme
string
httpHeaders
HTTPHeader[]
tcpSocket
object
2 nested properties
3 nested properties
Type
integer
required
IntVal
integer
required
StrVal
string
required
host
string
grpc
object
2 nested properties
port
integer
required
service
string
required
initialDelaySeconds
integer
timeoutSeconds
integer
periodSeconds
integer
successThreshold
integer
failureThreshold
integer
terminationGracePeriodSeconds
integer
ProjectedVolumeSource
object
defaultMode
integer
PropertySpec
object
type
string
QuobyteVolumeSource
object
registry
string
required
volume
string
required
readOnly
boolean
user
string
group
string
tenant
string
RBDVolumeSource
object
monitors
string[]
required
image
string
required
fsType
string
pool
string
user
string
keyring
string
secretRef
object
1 nested properties
name
string
readOnly
boolean
Ref
object
ResourceClaim
object
name
string
required
ResourceFieldSelector
object
resource
string
required
containerName
string
divisor
string | number
ResourceRequirements
object
SELinuxOptions
object
user
string
role
string
type
string
level
string
ScaleIOVolumeSource
object
gateway
string
required
system
string
required
1 nested properties
name
string
sslEnabled
boolean
protectionDomain
string
storagePool
string
storageMode
string
volumeName
string
fsType
string
readOnly
boolean
SeccompProfile
object
type
string
required
localhostProfile
string
SecretEnvSource
object
name
string
optional
boolean
SecretKeySelector
object
key
string
required
name
string
optional
boolean
SecretProjection
object
SecretVolumeSource
object
SecurityContext
object
capabilities
object
2 nested properties
add
string[]
drop
string[]
privileged
boolean
seLinuxOptions
object
4 nested properties
user
string
role
string
type
string
level
string
windowsOptions
object
4 nested properties
gmsaCredentialSpecName
string
gmsaCredentialSpec
string
runAsUserName
string
hostProcess
boolean
runAsUser
integer
runAsGroup
integer
runAsNonRoot
boolean
readOnlyRootFilesystem
boolean
allowPrivilegeEscalation
boolean
procMount
string
seccompProfile
object
2 nested properties
type
string
required
localhostProfile
string
ServiceAccountTokenProjection
object
path
string
required
audience
string
expirationSeconds
integer
Sidecar
object
name
string
required
image
string
command
string[]
args
string[]
workingDir
string
ports
ContainerPort[]
envFrom
EnvFromSource[]
env
EnvVar[]
computeResources
object
3 nested properties
volumeMounts
VolumeMount[]
volumeDevices
VolumeDevice[]
livenessProbe
object
10 nested properties
exec
object
1 nested properties
command
string[]
httpGet
object
5 nested properties
grpc
object
2 nested properties
port
integer
required
service
string
required
initialDelaySeconds
integer
timeoutSeconds
integer
periodSeconds
integer
successThreshold
integer
failureThreshold
integer
terminationGracePeriodSeconds
integer
readinessProbe
object
10 nested properties
exec
object
1 nested properties
command
string[]
httpGet
object
5 nested properties
grpc
object
2 nested properties
port
integer
required
service
string
required
initialDelaySeconds
integer
timeoutSeconds
integer
periodSeconds
integer
successThreshold
integer
failureThreshold
integer
terminationGracePeriodSeconds
integer
startupProbe
object
10 nested properties
exec
object
1 nested properties
command
string[]
httpGet
object
5 nested properties
grpc
object
2 nested properties
port
integer
required
service
string
required
initialDelaySeconds
integer
timeoutSeconds
integer
periodSeconds
integer
successThreshold
integer
failureThreshold
integer
terminationGracePeriodSeconds
integer
lifecycle
object
terminationMessagePath
string
terminationMessagePolicy
string
imagePullPolicy
string
securityContext
object
11 nested properties
capabilities
object
2 nested properties
add
string[]
drop
string[]
privileged
boolean
seLinuxOptions
object
4 nested properties
user
string
role
string
type
string
level
string
windowsOptions
object
4 nested properties
gmsaCredentialSpecName
string
gmsaCredentialSpec
string
runAsUserName
string
hostProcess
boolean
runAsUser
integer
runAsGroup
integer
runAsNonRoot
boolean
readOnlyRootFilesystem
boolean
allowPrivilegeEscalation
boolean
procMount
string
seccompProfile
object
2 nested properties
type
string
required
localhostProfile
string
stdin
boolean
stdinOnce
boolean
tty
boolean
script
string
workspaces
WorkspaceUsage[]
Step
object
name
string
required
image
string
command
string[]
args
string[]
workingDir
string
envFrom
EnvFromSource[]
env
EnvVar[]
computeResources
object
3 nested properties
volumeMounts
VolumeMount[]
volumeDevices
VolumeDevice[]
imagePullPolicy
string
securityContext
object
11 nested properties
capabilities
object
2 nested properties
add
string[]
drop
string[]
privileged
boolean
seLinuxOptions
object
4 nested properties
user
string
role
string
type
string
level
string
windowsOptions
object
4 nested properties
gmsaCredentialSpecName
string
gmsaCredentialSpec
string
runAsUserName
string
hostProcess
boolean
runAsUser
integer
runAsGroup
integer
runAsNonRoot
boolean
readOnlyRootFilesystem
boolean
allowPrivilegeEscalation
boolean
procMount
string
seccompProfile
object
2 nested properties
type
string
required
localhostProfile
string
script
string
timeout
string
pattern=^[-+]?([0-9]*(\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$
workspaces
WorkspaceUsage[]
onError
string
stdoutConfig
object
1 nested properties
path
string
stderrConfig
object
1 nested properties
path
string
params
Param[]
results
StepResult[]
StepOutputConfig
object
path
string
StepResult
object
name
string
required
type
string
properties
object
description
string
StepTemplate
object
image
string
command
string[]
args
string[]
workingDir
string
envFrom
EnvFromSource[]
env
EnvVar[]
computeResources
object
3 nested properties
volumeMounts
VolumeMount[]
volumeDevices
VolumeDevice[]
imagePullPolicy
string
securityContext
object
11 nested properties
capabilities
object
2 nested properties
add
string[]
drop
string[]
privileged
boolean
seLinuxOptions
object
4 nested properties
user
string
role
string
type
string
level
string
windowsOptions
object
4 nested properties
gmsaCredentialSpecName
string
gmsaCredentialSpec
string
runAsUserName
string
hostProcess
boolean
runAsUser
integer
runAsGroup
integer
runAsNonRoot
boolean
readOnlyRootFilesystem
boolean
allowPrivilegeEscalation
boolean
procMount
string
seccompProfile
object
2 nested properties
type
string
required
localhostProfile
string
StorageOSVolumeSource
object
volumeName
string
volumeNamespace
string
fsType
string
readOnly
boolean
secretRef
object
1 nested properties
name
string
TCPSocketAction
object
3 nested properties
Type
integer
required
IntVal
integer
required
StrVal
string
required
host
string
TaskRef
object
TaskResult
object
name
string
required
type
string
properties
object
description
string
value
string | string[]
TypedLocalObjectReference
object
apiGroup
string
required
kind
string
required
name
string
required
TypedObjectReference
object
apiGroup
string
required
kind
string
required
name
string
required
namespace
string
Volume
object
name
string
required
hostPath
object
2 nested properties
path
string
required
type
string
emptyDir
object
2 nested properties
medium
string
sizeLimit
string | number
gcePersistentDisk
object
4 nested properties
pdName
string
required
fsType
string
partition
integer
readOnly
boolean
awsElasticBlockStore
object
4 nested properties
volumeID
string
required
fsType
string
partition
integer
readOnly
boolean
gitRepo
object
3 nested properties
repository
string
required
revision
string
directory
string
secret
object
4 nested properties
nfs
object
3 nested properties
server
string
required
path
string
required
readOnly
boolean
iscsi
object
11 nested properties
targetPortal
string
required
iqn
string
required
lun
integer
required
iscsiInterface
string
fsType
string
readOnly
boolean
portals
string[]
chapAuthDiscovery
boolean
chapAuthSession
boolean
secretRef
object
1 nested properties
name
string
initiatorName
string
glusterfs
object
3 nested properties
endpoints
string
required
path
string
required
readOnly
boolean
persistentVolumeClaim
object
2 nested properties
claimName
string
required
readOnly
boolean
rbd
object
8 nested properties
monitors
string[]
required
image
string
required
fsType
string
pool
string
user
string
keyring
string
secretRef
object
1 nested properties
name
string
readOnly
boolean
flexVolume
object
5 nested properties
driver
string
required
fsType
string
secretRef
object
1 nested properties
name
string
readOnly
boolean
options
object
cinder
object
4 nested properties
volumeID
string
required
fsType
string
readOnly
boolean
secretRef
object
1 nested properties
name
string
cephfs
object
6 nested properties
monitors
string[]
required
path
string
user
string
secretFile
string
secretRef
object
1 nested properties
name
string
readOnly
boolean
flocker
object
2 nested properties
datasetName
string
datasetUUID
string
downwardAPI
object
2 nested properties
items
DownwardAPIVolumeFile[]
defaultMode
integer
fc
object
5 nested properties
targetWWNs
string[]
lun
integer
fsType
string
readOnly
boolean
wwids
string[]
azureFile
object
3 nested properties
secretName
string
required
shareName
string
required
readOnly
boolean
configMap
object
4 nested properties
vsphereVolume
object
4 nested properties
volumePath
string
required
fsType
string
storagePolicyName
string
storagePolicyID
string
quobyte
object
6 nested properties
registry
string
required
volume
string
required
readOnly
boolean
user
string
group
string
tenant
string
azureDisk
object
6 nested properties
diskName
string
required
diskURI
string
required
cachingMode
string
fsType
string
readOnly
boolean
kind
string
photonPersistentDisk
object
2 nested properties
pdID
string
required
fsType
string
projected
object
2 nested properties
defaultMode
integer
portworxVolume
object
3 nested properties
volumeID
string
required
fsType
string
readOnly
boolean
scaleIO
object
10 nested properties
gateway
string
required
system
string
required
1 nested properties
name
string
sslEnabled
boolean
protectionDomain
string
storagePool
string
storageMode
string
volumeName
string
fsType
string
readOnly
boolean
storageos
object
5 nested properties
volumeName
string
volumeNamespace
string
fsType
string
readOnly
boolean
secretRef
object
1 nested properties
name
string
VolumeDevice
object
name
string
required
devicePath
string
required
VolumeMount
object
name
string
required
mountPath
string
required
readOnly
boolean
subPath
string
mountPropagation
string
subPathExpr
string
VolumeProjection
object
secret
object
3 nested properties
downwardAPI
object
1 nested properties
items
DownwardAPIVolumeFile[]
configMap
object
3 nested properties
serviceAccountToken
object
3 nested properties
path
string
required
audience
string
expirationSeconds
integer
VsphereVirtualDiskVolumeSource
object
volumePath
string
required
fsType
string
storagePolicyName
string
storagePolicyID
string
WindowsSecurityContextOptions
object
gmsaCredentialSpecName
string
gmsaCredentialSpec
string
runAsUserName
string
hostProcess
boolean
WorkspaceDeclaration
object
name
string
required
description
string
mountPath
string
readOnly
boolean
optional
boolean
WorkspacePipelineTaskBinding
object
name
string
required
workspace
string
subPath
string
WorkspaceUsage
object
name
string
required
mountPath
string
required