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

Host Tekton StepActions on ArtifactHub #3677

Closed
chitrangpatel opened this issue Feb 29, 2024 · 13 comments
Closed

Host Tekton StepActions on ArtifactHub #3677

chitrangpatel opened this issue Feb 29, 2024 · 13 comments

Comments

@chitrangpatel
Copy link

Tekton Pipelines introduced StepActions in v0.54.0. We want to provide a catalog of Tekton StepActions and host them on ArtifactHub like we do for Tekton Tasks and Pipelines.

What would be required to enable this in ArtifactHub? I was not involved with setting up Tasks and Pipelines so I'd appreciate any help.

cc @vdemeester @afrittoli

@tegioz
Copy link
Collaborator

tegioz commented Mar 1, 2024

Hi @chitrangpatel 👋

We'd be happy to add support for Tekton StepActions as a new artifact kind.

Please take a look at the following links to see how Tekton tasks and pipelines repositories work in Artifact Hub:

https://artifacthub.io/docs/topics/repositories/tekton-tasks/
https://artifacthub.io/docs/topics/repositories/tekton-pipelines/
https://artifacthub.io/docs/topics/annotations/tekton/

Is there a Tekton StepActions catalog source repository we can take a look at? (i.e. like https://github.com/tektoncd/catalog/tree/main/task and https://github.com/tektoncd/catalog/tree/main/pipeline).

@chitrangpatel
Copy link
Author

Thanks for the quick reply @tegioz . We are in the process of adding StepActions to our GitHub catalog. The structure will be identical to that of Tasks and Pipelines.

I will reach out again as soon as we have something there.

@tegioz
Copy link
Collaborator

tegioz commented Mar 6, 2024

Awesome, thanks! 👍

@chitrangpatel
Copy link
Author

Hi @tegioz we now have a StepAction in our Github Catalog: https://github.com/tektoncd/catalog/tree/main/stepaction/git-clone/0.1

What are the next steps?

@tegioz
Copy link
Collaborator

tegioz commented Mar 11, 2024

Thanks @chitrangpatel 👍

We'll look into it and add support for this new kind. We'll ping you when it's ready 🙂

@chitrangpatel
Copy link
Author

Thanks @tegioz !

Do you have a prospective timeline on this, just so that we can leave some estimates in our tracking issues. Please let me know if we can do anything to help with this.

@tegioz
Copy link
Collaborator

tegioz commented Mar 26, 2024

Yes, we'll probably work on this next week 🙂

@tegioz
Copy link
Collaborator

tegioz commented Apr 2, 2024

This is mostly ready @chitrangpatel!

Quick question: any chance we can have a description field in the StepActionSpec type, like you have in PipelineSpec and TaskSpec? That's the description we display on the UI 😇

@chitrangpatel
Copy link
Author

We do not have that currently. I think we will add it before the next release. Any chance we can go ahead without it and add it once we implement it in the Spec?

@tegioz
Copy link
Collaborator

tegioz commented Apr 2, 2024

Sure, no problem 👍

It'd be great if you could ping us when it's ready and part of a release to improve the StepActions support 🙂

@tegioz
Copy link
Collaborator

tegioz commented Apr 3, 2024

Done in #3745!

We've just deployed it to the staging environment, you can see it in action here. We'll deploy it to production soon 🙂

@tegioz tegioz closed this as completed Apr 3, 2024
@chitrangpatel
Copy link
Author

chitrangpatel commented May 15, 2024

Hi @tegioz!
I don't see StepActions on https://artifacthub.io/. Did anything go wrong?

@tegioz
Copy link
Collaborator

tegioz commented May 15, 2024

Hi @chitrangpatel!

It looks like no StepActions repositories have been published on https://artifacthub.io yet. I added one to staging to test everything was working fine, but in production ideally this should be done by the owner of the repository so that the UI displays the correct publisher 🙂

You can do it from the AH control panel (if you do it from the Tekton organization much better). Please let me know if you have any problems!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants