Tekton PipelineRun: Difference between revisions
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | =External= | ||
* https://tekton.dev/docs/pipelines/pipelineruns/ | |||
* https://github.com/tektoncd/pipeline/blob/main/docs/pipelineruns.md | |||
=Internal= | =Internal= | ||
* [[Tekton_Concepts#PipelineRun|Tekton Concepts]] | * [[Tekton_Concepts#PipelineRun|Tekton Concepts]] | ||
=Overview= | =Overview= | ||
A '''pipeline run''' (or '''pipelineRun''') instantiates a specific [[# | A '''pipeline run''' (or '''pipelineRun''') instantiates a specific [[Tekton_Pipeline#Overview|pipeline]] to execute on a particular set of [[Tekton_Concepts#Input|inputs]] and produce a particular set of [[Tekton_Concepts#Output|outputs]]. A pipeline run connects [[Tekton_Concepts#Resource|resources]] with [[Tekton_Pipeline#Overview|pipelines]]. A pipeline run can be created via CLI, or by a Tekton components such as [[Tekton_Concepts#Tekton_Triggers|Tekton Triggers]]. The pipeline run is implemented as a Kubernetes custom resource. | ||
=Example= | |||
<syntaxhighlight lang='yaml'> | <syntaxhighlight lang='yaml'> | ||
apiVersion: tekton.dev/v1beta1 | apiVersion: tekton.dev/v1beta1 | ||
Line 15: | Line 18: | ||
name: simple-pipeline | name: simple-pipeline | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===PipelineRun Operations | =Manifest= | ||
<font color=darkkhaki> | |||
PROCESS: https://tekton.dev/docs/pipelines/pipelineruns/ | |||
</font> | |||
=PipelineRun Operations= | |||
* [[Tekton_Operations#List_PipelineRuns|List pipelinerun]] | * [[Tekton_Operations#List_PipelineRuns|List pipelinerun]] | ||
* [[Tekton_Operations#Display_Execution_Log_of_a_PipelineRun|Display execution log of a pipelinerun]] | * [[Tekton_Operations#Display_Execution_Log_of_a_PipelineRun|Display execution log of a pipelinerun]] |
Latest revision as of 04:16, 29 April 2022
External
- https://tekton.dev/docs/pipelines/pipelineruns/
- https://github.com/tektoncd/pipeline/blob/main/docs/pipelineruns.md
Internal
Overview
A pipeline run (or pipelineRun) instantiates a specific pipeline to execute on a particular set of inputs and produce a particular set of outputs. A pipeline run connects resources with pipelines. A pipeline run can be created via CLI, or by a Tekton components such as Tekton Triggers. The pipeline run is implemented as a Kubernetes custom resource.
Example
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: simple-pipeline-run
spec:
pipelineRef:
name: simple-pipeline
Manifest
PROCESS: https://tekton.dev/docs/pipelines/pipelineruns/