question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 3 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
vincent-plicommented, Mar 23, 2021

@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.

0reactions
Tomclicommented, Mar 30, 2021

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found