Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEP-0096] Propose deprecating ClusterTask #764

Merged
merged 1 commit into from
Aug 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions teps/0096-pipelines-v1-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: implementable
title: Pipelines V1 API
creation-date: '2021-11-29'
last-updated: '2022-07-12'
last-updated: '2022-07-26'
authors:
- '@lbernick'
- '@jerop'
Expand Down Expand Up @@ -217,11 +217,10 @@ This policy should be updated to include Tekton metrics as part of the API. No o
- The Task, TaskRun, Pipeline, and PipelineRun CRDs should be moved to the "stable" stability level.
- Because Custom Task is mission critical to our extensibility use case, Run should be upgraded to beta stability.
- See [Custom Tasks Beta](https://github.com/tektoncd/pipeline/issues/4313) for more information on work required to upgrade Custom Tasks to beta.
- Keep the ClusterTask CRD at beta stability.
- ClusterTask functionality will likely be replaced by [remote resolution](./0060-remote-resource-resolution.md), but there's no plan
to replace this functionality at a beta level of stability before releasing a V1 API.
- For the V1 API, ClusterTask should continue to be supported but left at beta stability. After implementing and receiving
user feedback on remote resolution, we can make a decision about whether to deprecate ClusterTask or bring it to stable.
- Deprecate the ClusterTask CRD.
- ClusterTask functionality will be replaced by [remote resolution](./0060-remote-resource-resolution.md),
and ClusterTasks should not be brought into the V1 API.
- Remote resolution should be brought to a beta level of stability before removing ClusterTasks from v1beta1.
See [Where should we take ClusterTasks next?](https://github.com/tektoncd/pipeline/issues/4476) for more info.

| CRD | Current level | Proposed level |
Expand All @@ -230,7 +229,7 @@ This policy should be updated to include Tekton metrics as part of the API. No o
| TaskRun | beta | stable |
| Pipeline | beta | stable |
| PipelineRun | beta | stable |
| ClusterTask | beta | beta |
| ClusterTask | beta | deprecated |
| Run | alpha | beta |

#### API Changes
Expand All @@ -255,6 +254,7 @@ This policy should be updated to include Tekton metrics as part of the API. No o
the ["bundle" resolver](https://github.com/tektoncd/resolution/tree/main/bundleresolver).
These fields should be marked as deprecated in v1beta1 and not be present in v1, but removing them in v1beta1 is optional.
Remote resolution, plus the bundle resolver, should be packaged with Tekton Pipelines before removing these fields.
- Deprecate `ClusterTask`, as discussed in [CRD Stability Levels](#crd-stability-levels).

#### Behavior flags

Expand Down
2 changes: 1 addition & 1 deletion teps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ This is the complete list of Tekton teps:
|[TEP-0092](0092-scheduling-timeout.md) | Scheduling Timeout | implementable | 2022-04-11 |
|[TEP-0094](0094-configuring-resources-at-runtime.md) | Configuring Resources at Runtime | implemented | 2022-03-11 |
|[TEP-0095](0095-common-repository-configuration.md) | Common Repository Configuration | proposed | 2021-11-29 |
|[TEP-0096](0096-pipelines-v1-api.md) | Pipelines V1 API | implementable | 2022-07-12 |
|[TEP-0096](0096-pipelines-v1-api.md) | Pipelines V1 API | implementable | 2022-07-26 |
|[TEP-0097](0097-breakpoints-for-taskruns-and-pipelineruns.md) | breakpoints-for-taskruns-and-pipelineruns | implementable | 2022-07-12 |
|[TEP-0098](0098-workflows.md) | Workflows | proposed | 2021-12-06 |
|[TEP-0100](0100-embedded-taskruns-and-runs-status-in-pipelineruns.md) | Embedded TaskRuns and Runs Status in PipelineRuns | implemented | 2022-04-18 |
Expand Down