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

Add tkn to catalog. #155

Merged
merged 1 commit into from
Dec 4, 2019
Merged

Add tkn to catalog. #155

merged 1 commit into from
Dec 4, 2019

Conversation

wlynch
Copy link
Member

@wlynch wlynch commented Dec 2, 2019

Changes

Adds a Task to the catalog for the Tekton CLI.

Fixes #154

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide
for more details.

@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 2, 2019

### Parameters

name | description | default
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we do the same for the rest ? (We need templates and a small script like ./create-task that would create the folder and put some skeleton in there)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! See #7, which proposes generating READMEs from the underlying Task definition.

We actually have an outreachy intern who just started who will be looking into this. So stay tuned!

tkn/tkn.yaml Outdated
- name: ARGS
type: array
description: tkn CLI arguments to run
default: ["help"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we have no default for the task, thus making the ARGS a required argument.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

params:
- name: tkn-image
description: tkn CLI container image to run this task
default: gcr.io/tekton-releases/dogfooding/tkn
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should tag a stable release for the default.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK this is the best we have right now. Once tektoncd/cli#497 is resolved, we can update this URL.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, my apologies. I opened that issue after seeing this pr and became aware from it that we need an official image.

Adds a Task to the catalog for the [Tekton CLI](https://github.com/tektoncd/cli).
Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 4, 2019
@tekton-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 4, 2019
@tekton-robot tekton-robot merged commit 6dd3645 into tektoncd:master Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tkn task
4 participants