Tekton Parameters: Difference between revisions
(One intermediate revision by the same user not shown) | |||
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> | ||
Line 33: | Line 36: | ||
==Parameter Matrix== | ==Parameter Matrix== | ||
<code>[[Tekton_Pipeline#_matrix|matrix]]</code> | <code>[[Tekton_Pipeline#_matrix|matrix]]</code> | ||
<font color=darkkhaki> | |||
https://tekton.dev/docs/pipelines/pipelines/#specifying-matrix-in-pipelinetasks | What is the difference between a parameter matrix and a Matrix (https://tekton.dev/docs/pipelines/matrix/) | ||
* https://tekton.dev/docs/pipelines/pipelines/#specifying-matrix-in-pipelinetasks | |||
</font> | |||
=PipelineRun Parameters= | =PipelineRun Parameters= | ||
Pipeline parameters are declared in the pipeline manifest under the <code>[[Tekton_Pipeline#_params|params]]</code> field. | Pipeline parameters are declared in the pipeline manifest under the <code>[[Tekton_Pipeline#_params|params]]</code> field. |
Latest revision as of 04:13, 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
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:
- https://tekton.dev/docs/pipelines/pipelines/#specifying-parameters
- Specifying parameters in finally tasks: https://tekton.dev/docs/pipelines/pipelines/#specifying-parameters-in-finally-tasks
Task Declaration in Pipeline
https://tekton.dev/docs/pipelines/pipelines/#specifying-parameters-in-pipelinetasks
Parameter Matrix
matrix
What is the difference between a parameter matrix and a Matrix (https://tekton.dev/docs/pipelines/matrix/)
PipelineRun Parameters
Pipeline parameters are declared in the pipeline manifest under the params
field.