-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add support for tektoncd/pipeline v1beta1 api version #26818
Add support for tektoncd/pipeline v1beta1 api version #26818
Conversation
Hi @qaifshaikh. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
It seems tektoncd/pipeline deprecated the support for conditions in But recently they completely removed it before releasing support for I wonder if it's worth resolving the references for the conditions in v1beta1 support for prow? Or does it make sense to just get rid of it overall to prepare for cc @eddycharly @olemarkus for input 🙏🏻 |
/ok-to-test |
I'm also for completely removing conditions and upgrade pipeline to 0.37+. |
+1 |
/uncc |
/label tide/merge-method-squash |
AFAICT I have never seen anyone using this |
@alvaroaleman we used it in my previous job but I'm pretty sure they switched to something else now. |
@alvaroaleman |
New changes are detected. LGTM label has been removed. |
@alvaroaleman i've removed the irrelevant changes. Are we good to merge now? |
Well, I am still not convinced that it is a great idea to do a breaking change now to upgrade to a beta version just to do a new breaking change in a couple of weeks to upgrade to v1. |
I'll do the v1 upgrade PR as well then! |
@alvaroaleman based on what I can see here, they haven't added the They're still using Does it make sense to switch to |
I'm on the same page as @alvaroaleman that if v1 is becoming the recommended version real soon, we probably should wait a bit to avoid confusion to potential users of this feature. seems that @imjasonh is still active in the Tekton space, a quick question: do we know the timeline when Tekton v1 become the recommended version? |
Again, how about supporting multiple versions ? |
@eddycharly I'm not sure how we'd be supporting multiple versions though 🤔 Any suggestions? Tekton removed most of the support for the |
Of course, if tekton removes
Does this make sense ? |
@alvaroaleman are there any benefits from generating the tekton client rather than using https://github.com/tektoncd/pipeline/tree/main/pkg/client ? Something like this #27018 |
I think that makes sense if we have a lot of users leveraging the Adding the So picking up from your suggestion, if we upgrade tekton pipelines to
I'm not sure if we can come up with any smoother transition than this, at this point in time. |
I agree there are probably very little users, still we should give them a chance to upgrade. |
Perhaps if folks haven't upgraded their key pipeline orchestrator in over 2 years, it would be safe to assume they won't upgrade to the absolute latest prow version in the immediate, and likely whenever they do, will be upgrading their stack and testing. Removing support for something that is removed from the 'upstream' integration seems quite reasonable. Everyone has control over their own upgrade path and versions, we probably shouldn't restrict advancement as if things aren't versioned. |
Chances are that it will cause issues with existing prow jobs too. If the job contains a |
Structure wise, it could look something like this #27034 |
I see what you mean 🤔 That would also mean we have to wait for |
When we decide to drop |
Sounds good to me. |
I have one PR to add beta1 client. And I have another PR that introduces new fields to support multiple versions. Now I wonder if we need one controller per version or one controller for all versions. |
IMO controller per version would be easier to deprecate. But only if its not too much work to support both. |
Not sure, but maybe we can use |
This is a continuation of #26535
We've already added the support for tektoncd/pipeline v0.36.0 in #26762
The next phase is to add support for
v1beta1
API versions