You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v1alpha1.Run has been replaced by v1beta1.CustomRun, and the PipelineRun controller no longer creates v1alpha1.Run objects.
This commit removes support for v1alpha1.Run in the PipelineRun controller.
It maintains the API fields for v1alpha1.Run for use by clients.
Note: Retries behavior has changed between v1alpha1.Run and v1beta1.CustomRun.
The PipelineRun controller does not consider whether CustomRuns have retries remaining to determine whether they have completed;
it only considers their status.
Copy file name to clipboardExpand all lines: docs/customruns.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,8 @@ weight: 206
26
26
27
27
# Overview
28
28
29
-
*We are promoting Custom Task from [`v1alpha1.Run`](runs.md) to `v1beta1.CustomRun`, please refer to the [migration doc](migrating-v1alpha1.Run-to-v1beta1.CustomRun.md) for details.*
29
+
*`v1beta1.CustomRun` has replaced `v1alpha1.Run` for custom task definitions. Please refer to the [migration doc](migrating-v1alpha1.Run-to-v1beta1.CustomRun.md) for details
30
+
on updating `v1alpha1.Run` to `v1beta1.CustomRun` before upgrading to a release that does not support `v1alpha1.Run`.*
30
31
31
32
A `CustomRun` allows you to instantiate and execute a [Custom
|[The `PipelineRun.Status.TaskRuns` and `PipelineRun.Status.Runs` fields and the `embedded-status` feature flag along with their functionalities have been tombstoned since v0.45.](https://github.com/tektoncd/community/blob/main/teps/0100-embedded-taskruns-and-runs-status-in-pipelineruns.md)|[[TEP100] Remove Taskruns and Runs Fields for PipelineRunStatus](https://github.com/tektoncd/pipeline/pull/6099)| Jan 25, 2023 | v0.44.0 | Jan 24, 2024 |
37
37
| PipelineResources are removed, along with the components of the API that rely on them as proposed in [TEP-0074](https://github.com/tektoncd/community/blob/main/teps/0074-deprecate-pipelineresources.md). See [Removed `PipelineResources` related features](#removed-pipelineresources-related-features) for more info. |[[TEP074] Remove Generic PipelineResources with Rest of Resources Types](https://github.com/tektoncd/pipeline/pull/6150)| Mar 8, 2023 | v0.44.0 | Jan 24, 2024 |
38
+
| v1alpha1 Runs are removed, as proposed in [TEP-0114](https://github.com/tektoncd/community/blob/main/teps/0114-custom-tasks-beta.md). |[TEP-0114: Remove support for v1alpha1.Run](https://github.com/tektoncd/pipeline/pull/6508)| April 7, 2023 | v0.44.0 | Jan 24, 2024 |
Copy file name to clipboardExpand all lines: docs/pipelines.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1626,10 +1626,9 @@ Starting from `v0.47.0`, feature flag `custom-task-version` is removed and only
1626
1626
can implement behavior that doesn't correspond directly to running a workload in a `Pod` on the cluster.
1627
1627
For example, a custom task might execute some operation outside of the cluster and wait for its execution to complete.
1628
1628
1629
-
A `PipelineRun` starts a custom task by creating a [`Run`](https://github.com/tektoncd/pipeline/blob/main/docs/runs.md)/[`CustomRun`](https://github.com/tektoncd/pipeline/blob/main/docs/customruns.md) instead of a `TaskRun`.
1629
+
A `PipelineRun` starts a custom task by creating a [`CustomRun`](https://github.com/tektoncd/pipeline/blob/main/docs/customruns.md) instead of a `TaskRun`.
1630
1630
In order for a custom task to execute, there must be a custom task controller running on the cluster
1631
-
that is responsible for watching and updating `Run/CustomRun`s which reference their type.
1632
-
If no such controller is running, those `Run/CustomRun`s will never complete and Pipelines using them will time out.
1631
+
that is responsible for watching and updating `CustomRun`s which reference their type.
0 commit comments