-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Remove v1alpha1 Pipeline, PipelineRun, Task, TaskRun, and ClusterTask #5005
Conversation
The following is the coverage report on the affected files.
|
/retest |
1 similar comment
/retest |
e01e3ac
to
a047fb5
Compare
The following is the coverage report on the affected files.
|
a047fb5
to
7052a25
Compare
The following is the coverage report on the affected files.
|
I...honestly did not expect everything to pass so soon. =) |
7052a25
to
0f665ac
Compare
The following is the coverage report on the affected files.
|
0f665ac
to
d23b576
Compare
The following is the coverage report on the affected files.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/cc @tektoncd/cli-maintainers as this will have an impact on the CLI (a good one, we'll have to clean our v1alpha1 support as well)
And yes, there'll be an email to tekton-dev@ once this merges. |
/retest |
cc @tektoncd/core-maintainers |
/hold I'm holding this until I get feedback from enough people. =) |
I tend to agree with @afrittoli. Custom Tasks are only available if we set the api feature flag to Custom Tasks are even more "weird" in that, from the user perspective (aka the yaml provide) we never "refer" to the
I don't have a strong opinion on this, but if we want to change the name, it would be better to do it earlier than later. Changing it today, would mean all the custom task in experimental need to be changed, same with external ones (automatiko manual approval, …).
That could be a possibility. I wonder what are the cons for this approach, what problems it could "pose". |
Let's keep "Run" naming out of scope for this PR.
I agree this can be confusing although this is covered in tep 33
Yes, but I don't think that's in scope for this PR.
I'm not sure I understand what you're suggesting here. Is the suggestion to retain the concept of a "v1alpha1 API" which has v1alpha1 versions of all the CRDs you would need to run Tekton? v1alpha1 Run will still exist, at alpha stability, so we can iterate on it. Or is the concern that the v1beta1 Pipeline implicitly declares the spec of Run (currently |
Yup! (though probably more in line with what @afrittoli was saying with v1alpha2).
The situation I'm worried about is if a change to an alpha field causes a breaking change in beta API clients - it's not immediately obvious in client code whether a beta client is running in "alpha mode", since that's a server-side setting. We kinda get around this today by having alpha checks during validation, though I don't think we have any way to verify what fields are alpha beyond doc comments (and we're not always consistent about labelling these) and whether they are actually enforced as alpha. For me having strict separation of alpha fields only be in alpha APIs makes this distinction clearer for both client and server, then promote fields to beta once we're happy. If we do stick with the alpha fields in beta APIs though, maybe we can do something to improve this like add custom struct tags to label and enforce alpha behavior. 🤔 That said, agreed that this is out of scope for this PR so... /lgtm |
@wlynch fwiw, |
Closes tektoncd#4982 This removes the long deprecated pipeline v1alpha1 APIs for everything that's replicated in v1beta1. Signed-off-by: Andrew Bayer <[email protected]>
75c0d8d
to
b31ece3
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afrittoli, vdemeester The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The following is the coverage report on the affected files.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/retest |
/hold cancel |
/retest |
/test pull-tekton-pipeline-integration-tests |
/retest |
/test pull-tekton-pipeline-integration-tests |
@abayer: The specified target(s) for
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test pull-tekton-pipeline-integration-tests |
TEP-0105 was implemented in tektoncd/pipeline#5005. This change updates the TEP state from `implementable` to `implemented`.
TEP-0105 was implemented in tektoncd/pipeline#5005. This change updates the TEP state from `implementable` to `implemented`.
Changes
Closes #4982
This removes the long deprecated pipeline v1alpha1 APIs for everything that's replicated in v1beta1.
/kind cleanup
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
(if there are no user facing changes, use release note "NONE")
Release Notes