Skip to content

Initial knctl task definition 🌮#34

Merged
tekton-robot merged 1 commit intotektoncd:masterfrom
vdemeester:knctl
Jun 6, 2019
Merged

Initial knctl task definition 🌮#34
tekton-robot merged 1 commit intotektoncd:masterfrom
vdemeester:knctl

Conversation

@vdemeester
Copy link
Copy Markdown
Member

Changes

Adds a knctl-deploy task that will deploy an image (resource) as a
Knative service.

Enhancements:

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 requested review from dlorenc and kimsterv May 27, 2019 13:50
@tekton-robot tekton-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 27, 2019
@vdemeester
Copy link
Copy Markdown
Member Author

/test pull-tekton-catalog-integration-tests

@dlorenc
Copy link
Copy Markdown
Contributor

dlorenc commented May 28, 2019

/assign ImJasonH
I think Jason was going to work on something similar

@vdemeester
Copy link
Copy Markdown
Member Author

@dlorenc indeed 👼 I did that task for a talk at Red Hat Summit, thought I would share 😉


This Task deploys (or update) a Knative service. It uses
[`knctl`](https://github.com/cppforlife/knctl) for that, and supports
only the `deploy` subcommand as of today.
Copy link
Copy Markdown

@houshengbo houshengbo May 29, 2019

Choose a reason for hiding this comment

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

https://github.com/knative/client/blob/master/docs/cmd/kn_service_create.md
The official knative client support the service creation by image as well: kn service create NAME --image IMAGE [flags].

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, as written in #36 the end-goal is to use kn instead of knctl. This is merely the initial proposition. I went for knctl deploy here, as it allowed me to re-execute this same task any number of time (and it would update the service) — I wasn't sure how to do that with kn at that time 👼

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

NP. I am checking whether I can make the docker image available for kn. We are good for this PR.

Adds a `knctl-deploy` task that will deploy an image (resource) as a
Knative service.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
@houshengbo
Copy link
Copy Markdown

/lgtm

@tekton-robot
Copy link
Copy Markdown

@houshengbo: changing LGTM is restricted to assignees, and only tektoncd/catalog repo collaborators may be assigned issues.

Details

In response to this:

/lgtm

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.

@tekton-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: houshengbo, vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@houshengbo
Copy link
Copy Markdown

@vdemeester I just joined the community. Do you know what permissions I have to PRs?
It looks like I cannot issue /lgtm command, but I can give "approve" to a pr. Thx.

@vdemeester
Copy link
Copy Markdown
Member Author

@houshengbo yeah, you need to be on the GitHub organization to be able to lgtm a PR (for approval, you can do it but only OWNER's approval are taken into account). It is more or less written in the community repository.

@houshengbo
Copy link
Copy Markdown

@vdemeester Could you add me into the organization? I mean how I can join as a collaborator.

@dlorenc
Copy link
Copy Markdown
Contributor

dlorenc commented Jun 6, 2019

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 6, 2019
@tekton-robot tekton-robot merged commit 137d450 into tektoncd:master Jun 6, 2019
@vdemeester vdemeester deleted the knctl branch June 6, 2019 18:22
@vdemeester vdemeester added this to the Pipelines 0.5 🐱 milestone Jun 7, 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.

5 participants