Open Yongxuanzhang opened 1 year ago
/assign
/kind feature
also related to https://github.com/tektoncd/pipeline/issues/7329
@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
For ArtifactHub, I believe it was this PR: https://github.com/artifacthub/hub/pull/2337/files# that added Tasks and Pipelines.
Rough Action plan:
cc @vinamra28
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.