tektoncd / catalog

Catalog of shared Tasks and Pipelines.
Apache License 2.0
666 stars 577 forks source link

Add StepActions to Catalog #1218

Open Yongxuanzhang opened 1 year ago

Yongxuanzhang commented 1 year ago

StepAction is proposed in TEP-0142, and implemented by https://github.com/tektoncd/pipeline/issues/7259.

StepAction is used to extract reusable step from a Task, to provide better performance, security and simplicity for user experience.

This issue is created to track what Tasks' steps would be converted to a StepAction. We will start with https://github.com/tektoncd/catalog/tree/main/task/git-clone. Then expands to other ones.

Yongxuanzhang commented 1 year ago

/assign

Yongxuanzhang commented 1 year ago

/kind feature

Yongxuanzhang commented 1 year ago

also related to https://github.com/tektoncd/pipeline/issues/7329

afrittoli commented 8 months ago

@Yongxuanzhang thank you for this issue. I think it would be really good to have this implemented. Many of our tasks are single-step ones and having them as StepActions would improve their re-usability. I was not involved in the discussion with ArtifactHub for Tasks and Pipelines, do you know what it would take to add a new type there? I think it would be great to start the conversation with the ArtifactHub team. @chitrangpatel FYI

chitrangpatel commented 8 months ago

For ArtifactHub, I believe it was this PR: https://github.com/artifacthub/hub/pull/2337/files# that added Tasks and Pipelines.

chitrangpatel commented 8 months ago

Rough Action plan:

chitrangpatel commented 8 months ago

cc @vinamra28