Tekton PipelineRun: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=External=
=External=
* 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 [[#Pipeline|pipeline]] to execute on a particular set of [[#Input|inputs]] and produce a particular set of [[#Output|outputs]].  A pipeline run connects [[#Resource|resources]] with [[#Pipeline|pipelines]]. A pipeline run can be created via CLI, or by a Tekton components such as [[#Tekton_Trigger|Tekton Triggers]]. The pipeline run is implemented as a Kubernetes custom resource.
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.


Simple pipelinerun example:
=Example=
<syntaxhighlight lang='yaml'>
<syntaxhighlight lang='yaml'>
apiVersion: tekton.dev/v1beta1
apiVersion: tekton.dev/v1beta1
Line 15: Line 17:
     name: simple-pipeline
     name: simple-pipeline
</syntaxhighlight>
</syntaxhighlight>
===PipelineRun Operations===
=Manifest=
=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]]

Revision as of 00:26, 29 April 2022

External

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

PipelineRun Operations