Tekton Parameters: Difference between revisions
(21 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_TaskRun#Parameters|Tekton TaskRun]] | |||
* [[Tekton_Pipeline#Parameters|Tekton Pipeline]] | |||
* [[Tekton_PipelineRun#Parameters|Tekton PipelineRun]] | |||
=Overview= | =Overview= | ||
Parameters are configuration elements shared by tasks, task runs, [[ | Parameters are configuration elements shared by tasks, task runs, [[Tekton_Pipeline#Parameters|pipelines]] and pipeline runs. | ||
=Task Parameters= | |||
The task parameters are listed under the <code>[[Tekton_Task#_params|params]]</code> field of the [[Tekton_Task#Manifest|task manifest]]. Parameter values are passed to the task from its corresponding [[Tekton_TaskRun#Overview|TaskRun]]. | |||
<font color=darkkhaki>TO PROCESS: https://tekton.dev/docs/pipelines/tasks/#specifying-parameters</font> | |||
=TaskRun Parameters= | |||
{{External|https://tekton.dev/docs/pipelines/taskruns/#specifying-parameters}} | |||
This section specifies value for the [[#Task_Parameters|execution parameters of the corresponding task]]. | |||
<font color=darkkhaki>TO PROCESS.</font> | |||
==Implicit Parameters== | |||
<font color=darkkhaki>TO PROCESS: https://tekton.dev/docs/pipelines/taskruns/#implicit-parameters</font> | |||
==Extra Parameters== | |||
<font color=darkkhaki>TO PROCESS: https://tekton.dev/docs/pipelines/taskruns/#extra-parameters</font> | |||
=Pipeline Parameters= | =Pipeline Parameters= | ||
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 | |||
* Specifying parameters in finally tasks: https://tekton.dev/docs/pipelines/pipelines/#specifying-parameters-in-finally-tasks | |||
</font> | |||
==Task Declaration in Pipeline== | |||
<code>[[Tekton_Pipeline#_params|params]]</code> | |||
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= | |||
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.