Support generate "custom task" defination in DSL
See original GitHub issue/kind feature
Description:
I think we need support to generate custom task
definition to the yaml file in dsl
, like this:
- name: exception-handler
taskRef:
apiVersion: custom.tekton.dev/v1alpha1
kind: Exception
name: exception
params:
- name: pipelinerun_name
value: guarded-pr
I think user will have such requirement, since the tekton
introduced the conception of custom task
.
with such ability we can easy to support loop
, exception handler
.etc which depends on controller of custom task
.
Additional information:
https://docs.google.com/document/d/14PEuKY6T1ku4uFZx12FLFEPNE8poTdZRlzj6RDT3YKk/edit
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Developing Custom Gradle Task Types
Gradle supports two types of task. One such type is the simple task, where you define the task with an action closure. We...
Read more >Creating a task definition using the new console
Open the new console at https://console.aws.amazon.com/ecs/v2 . · In the navigation pane, choose Task definitions · Choose Create new task definition, Create new ......
Read more >Support task selection and configuration #34 - GitHub
Where mytask is a task already registered with the tasks container. ... Consider aggregating all build/project specific extensions, conventions and tasks under a ......
Read more >Launching composed task built by DSL from stream application
My question is how do I launch the composed task runner ( sampleTaskRunner , defined by DSL) from stream application. Thanks. UPDATE. I...
Read more >Gradle Custom Task | Baeldung
These custom tasks will be available for our build when we define a dependency to this plugin. Please note that ad-hoc tasks are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Tomcli thanks for clarification. I mean
CustomtaskOp
(maybe not named as this) is just maintained in our side. Argo compiler has no idea of it.@vincent-pli @Udiknedormin I updated the PR over here to allow user defines their own CEL task. https://github.com/kubeflow/kfp-tekton/pull/478/files#diff-65521d86764db207d14837f8851ed3838715ab34f7771b049f97c6730c54e886R58-R72
In this example, I also show on how tasks can run after other tasks within the condition blocks. I will update the documentation on how to use this feature. To start off, we will support the basic CEL first and make it extendable for other custom task.