-
Notifications
You must be signed in to change notification settings - Fork 221
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
Proposal: Custom task SDK. #459
Comments
We are tracking approval from governance with this issue, please vote for the approval. |
Reference: #304 Need reviewers: |
+1 for this project propsal seeing it as parallel to what is there in Jenkins with the plugin development environment. Creating custom task controllers by defining the custom task layout and basic logic of the controller and the developer can focus on the reconciliation of the custom task and it's lifecycle is a great idea !
Considering Custom Task Reconciliation will run in it's own controller away from the main Tekton controllers, it shouldn't have sideeffects on the Tekton controllers (and should probably be taken care of by the SDK). This is something that needs to be kept in mind, otherwise "plugin hell" which is a huge problem in Jenkins might get reflected in due time.
✨ Maybe we can call this sdk the Tekton Plugin SDK 😉 instead of Custom Task SDK ? +1 for Custom Task SDK from my side, but was thinking if using "Plugin" might take away the few minutes of explantaion it might take us to explain what a Custom Task is to existing CI/CD users/developers. What a Custom Task is would have to be understood by the developer at some point but using the work "Plugin" might (a very strong might) hockey-stick developer involvement in creating new CustomTask controllers (or tekton plugins 😉). |
Thanks @waveywaves :)
It makes more sense to do that. However, it is not yet clear how it will work. Will it be like At the moment, custom task seems to be ubiquitous in tekton world. Changing this name means we would have to update the current documentation/code base and so on. To me |
I agree, the cli could be started in the experimental repo to begin with and then the cobra module can be moved to
We keep using |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. 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. |
/reopen |
@vdemeester: Reopened this issue. 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. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. 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. |
Proposal for creating tektoncd/experimental/custom-task-sdk to incubate Custom Task SDK project
Per process, this project was proposed with verbal support at the Tekton API Working Group on June 14th 9am PST
The problem the project will solve
A custom task SDK will make the work of Custom Task author easier and will offer standard way to implement custom task controllers. While adhering to current separation of concern between a custom task controller's role and tektoncd owned controller's role, it should make custom tasks easier to manage and reason by tektoncd.
Some highlights:
cancel
/timeout
orretries
? Or does it supporttaskSpec
or not.PipelineRun yaml
, the template sdk will include a custom task specific cli tool for validating embedded specs.Related TEPs:
Related issues:
Who will own it
Updates
TBD
/cc @vdemeester @afrittoli @pritidesai @jerop @nikhil-thomas @bobcatfish
The text was updated successfully, but these errors were encountered: