Tekton Parameters: Difference between revisions
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Tekton_Concepts#Overview|Tekton Concepts]] | |||
* [[Tekton_Task#Parameters|Tekton Task]] | * [[Tekton_Task#Parameters|Tekton Task]] | ||
* [[Tekton_TaskRun#Parameters|Tekton TaskRun]] | * [[Tekton_TaskRun#Parameters|Tekton TaskRun]] | ||
* [[Tekton_Pipeline#Parameters|Tekton Pipeline]] | * [[Tekton_Pipeline#Parameters|Tekton Pipeline]] | ||
* [[Tekton_PipelineRun#Parameters|Tekton PipelineRun]] | |||
=Overview= | =Overview= | ||
Line 24: | 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> | ||
https://tekton.dev/docs/pipelines/pipelines/#specifying-parameters-in-pipelinetasks | https://tekton.dev/docs/pipelines/pipelines/#specifying-parameters-in-pipelinetasks | ||
==Parameter Matrix== | |||
<code>[[Tekton_Pipeline#_matrix|matrix]]</code> | |||
<font color=darkkhaki> | |||
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.