Understanding TaskRuns and PipelineRuns
TaskRuns and PipelineRuns represent how their counterparts are executed; that is, the task and the pipeline. They hold the current status of the task's and pipeline's execution and provide you with more information on their performance, as shown in the following diagram:
Here, you can see the tasks and pipelines that can be defined as templates so that they can be executed. When you use the CLI to start a pipeline (or a task), it will create the associated run.
TaskRuns
A TaskRun is used to execute a task on a cluster. While the task describes the operation that needs to happen in your pipeline, TaskRun describes this task's execution.
A TaskRun will execute all the steps in the task. It will also contain the status of the task's execution and the status of the execution of each step.
The TaskRun will execute until all...