tektoncd / pipeline

A cloud-native Pipeline resource.
https://tekton.dev
Apache License 2.0
8.44k stars 1.77k forks source link

Skaffold a Task's project #7540

Open cmoulliard opened 8 months ago

cmoulliard commented 8 months ago

Feature request

Have you considered part of the Tekton project to propose a tool or a UI screen on the hub able to skaffold a Task like also to generate the README.md from the Task definition such as:

Use case

As a user/contributor, I would like to easily create a new task's project from a skeleton and containing a README file + needed files and folder(s) As a user/contributor, I would like when I create a new task to encode the name, description, parameter(s), workspace(s) and that a project is generated

chmouel commented 8 months ago

Probably not suited for tektoncd/pipeline

The cli has a ROADMAP item to have one https://github.com/tektoncd/cli/blob/main/ROADMAP.md#source-to-pipelinetask-1551

I made a poc of a auto generation tool https://github.com/chmouel/tkn-autogenerate, this output pac templates but that can be modified to use tekton resolvers instead

There is probably a LLM that can help with that too, but that's a project on it's own

cmoulliard commented 8 months ago

Probably not suited for tektoncd/pipeline

Should we then move this ticket under https://github.com/tektoncd/cli ? What about having too this option offered on https://hub.tekton.dev/ as by example operator hub proposes too https://operatorhub.io/packages ?

cmoulliard commented 8 months ago

I made a poc of a auto generation tool https://github.com/chmouel/tkn-autogenerate, this output pac templates but that can be modified to use tekton resolvers instead

Remark: Your POC makes the job from an existing project and do not generate using a skeleton a project to create a task, pipeline, etc

Yongxuanzhang commented 5 months ago

I also implemented a poc of using LLM to 1) create a task from user's prompt 2) generate readme/docs from the task yaml. Do you think that's something useful?

cmoulliard commented 5 months ago

I also implemented a poc of using LLM to 1) create a task from user's prompt 2) generate readme/docs from the task yaml. Do you think that's something useful?

Certainly. How users will then been able to consume such AI/LLM feature ?