Skip to content
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

Common Expression Language Custom Task #3149

Open
Tracked by #7415
jerop opened this issue Aug 31, 2020 · 4 comments
Open
Tracked by #7415

Common Expression Language Custom Task #3149

jerop opened this issue Aug 31, 2020 · 4 comments
Labels
area/roadmap Issues that are part of the project (or organization) roadmap (usually an epic) kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.

Comments

@jerop
Copy link
Member

jerop commented Aug 31, 2020

Feature request

Add a CelRun Custom Task to provide CEL support in Pipelines. This allows us to experiment with CEL in Pipelines without adding CEL directly to the Tekton API surface. CelRun Custom Task is discussed in further detail as an alternative in Conditions Beta TEP.

Use cases

Related Issues:

/cc @bobcatfish @bitsofinfo

@jerop jerop added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 31, 2020
@imjasonh
Copy link
Member

FWIW when I was prototyping Custom Tasks I made https://github.com/imjasonh/cel-task to help demonstrate a simple CEL Task. It'll need some work to make sure it still works, and to add tests especially, but it might be a useful starting point.

@tekton-robot
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.

/lifecycle stale

Send feedback to tektoncd/plumbing.

@tekton-robot tekton-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 29, 2020
@jerop
Copy link
Member Author

jerop commented Nov 30, 2020

/lifecycle frozen

because supporting CEL through a custom task is important for experimenting with the expression language without adding it to Tekton API surface -- expression language support is still highly requested (#2812)

@tekton-robot tekton-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Nov 30, 2020
@jerop jerop changed the title CelRun Custom Task Common Expression Language Custom Task Jan 19, 2021
@bobcatfish bobcatfish added the area/roadmap Issues that are part of the project (or organization) roadmap (usually an epic) label Feb 24, 2021
@chitrangpatel
Copy link
Member

Example that shows a usecase for CEL

In our plumbing repo we have a pipeline that computes go coverage, I was forced to write an additional task that split a string into two results so that I could use them as parameters into my next task that used a clone.

The ability to split the main param into two would have been incredibly useful (for e.g. something like https://tekton.dev/docs/triggers/cel_expressions/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/roadmap Issues that are part of the project (or organization) roadmap (usually an epic) kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.
Projects
Status: Todo
Status: In Progress
Development

No branches or pull requests

5 participants