Tekton Parameters: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 26: Line 26:
The pipeline parameters are listed under the <code>[[Tekton_Pipeline#_params|params]]</code> field of the [[Tekton_Pipeline#Manifest|pipeline manifest]].
The pipeline parameters are listed under the <code>[[Tekton_Pipeline#_params|params]]</code> field of the [[Tekton_Pipeline#Manifest|pipeline manifest]].


<font color=darkkhaki>TO PROCESS: https://tekton.dev/docs/pipelines/pipelines/#specifying-parameters</font>
<font color=darkkhaki>TO PROCESS:  
* https://tekton.dev/docs/pipelines/pipelines/#specifying-parameters
* Specifying parameters in finally tasks: https://tekton.dev/docs/pipelines/pipelines/#specifying-parameters-in-finally-tasks
</font>
==Task Declaration in Pipeline==
==Task Declaration in Pipeline==
<code>[[Tekton_Pipeline#_params|params]]</code>
<code>[[Tekton_Pipeline#_params|params]]</code>

Revision as of 03:46, 29 April 2022

Internal

Overview

Parameters are configuration elements shared by tasks, task runs, pipelines and pipeline runs.

Task Parameters

The task parameters are listed under the params field of the task manifest. Parameter values are passed to the task from its corresponding TaskRun.

TO PROCESS: https://tekton.dev/docs/pipelines/tasks/#specifying-parameters

TaskRun Parameters

https://tekton.dev/docs/pipelines/taskruns/#specifying-parameters

This section specifies value for the execution parameters of the corresponding task.

TO PROCESS.

Implicit Parameters

TO PROCESS: https://tekton.dev/docs/pipelines/taskruns/#implicit-parameters

Extra Parameters

TO PROCESS: https://tekton.dev/docs/pipelines/taskruns/#extra-parameters

Pipeline Parameters

The pipeline parameters are listed under the params field of the pipeline manifest.

TO PROCESS:

Task Declaration in Pipeline

params

https://tekton.dev/docs/pipelines/pipelines/#specifying-parameters-in-pipelinetasks

Parameter Matrix

matrix

https://tekton.dev/docs/pipelines/pipelines/#specifying-matrix-in-pipelinetasks

PipelineRun Parameters

Pipeline parameters are declared in the pipeline manifest under the params field.