-
Notifications
You must be signed in to change notification settings - Fork 102
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
[TEP-0079] Implement "install" command for artifact type #757
[TEP-0079] Implement "install" command for artifact type #757
Conversation
Skipping CI for Draft Pull Request. |
e335ab9
to
3108ac7
Compare
/hold until #752 is merged |
3108ac7
to
d0ad6dc
Compare
d0ad6dc
to
f9cc804
Compare
/cancel hold |
/hold cancel |
Hi @vinamra28 @PuneetPunamiya @sm43. I have rebased and cleaned up the PR. It is now ready for review. PTAL 🙏 |
artifactHubTaskType = 7 | ||
artifactHubPipelineType = 11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember why we need this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Artifact Hub hosts ~10 kinds of resources. Tekton Task and Tekton Pipelines are two of the kinds. So we need to specify the type when doing a search
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this number will remain constant for Task and Pipeline right ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the patch looks fine, could you please address the comments
f9cc804
to
638df4a
Compare
Thanks @PuneetPunamiya and @pratap0007 for the review. I have addressed the comment. Could you please take a look again and help approve? |
Thank you for addressing the comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a minor patch, PR looks good to me
/approve |
Prior to this commit, the tkn hub install command is only supported with --type tekton. This commit adds the tkn hub install functionality for --type artifact, which fetches resources from the Artifact Hub and install to user's cluster. Example: tkn hub install task golang-build --from tekton-catalogs-task --version 0.2.0
638df4a
to
c017f18
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/meow
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pratap0007, PuneetPunamiya, vinamra28 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Part of #692 and based on #752. Prior to this commit, the tkn hub install command is only supported with
--type tekton
. This commit adds the tkn hub install functionality for--type artifact
, which fetches resources from the Artifact Hub and install to user's cluster.Example:
tkn hub install task golang-build --from tekton-catalog-tasks --version 0.2.0 --type artifact
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make api-check
make ui-check
See the contribution guide for more details.