-
Notifications
You must be signed in to change notification settings - Fork 253
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
tkn pipeline create Command #492
Conversation
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
The following is the coverage report on pkg/.
|
@gavinfish Thanks for a lot of your work in helping put this pr together. I would like to give you co-authorship of this pr. Would you be willing to sign the CLA? |
The following is the coverage report on pkg/.
|
}, | ||
} | ||
f.AddFlags(c) | ||
c.Flags().StringVarP(&opts.from, "from", "f", "", "local or remote filename to use to create the pipeline") |
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.
Question here is whether to include option or just accept arg at command line.
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 think this is fine, no issue
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
/test pull-tekton-cli-unit-tests |
/test pull-tekton-cli-integration-tests |
/test pull-tekton-cli-unit-tests |
/retest |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
The following is the coverage report on pkg/.
|
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
@piyush-garg Thanks! Added licenses. |
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
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
The following is the coverage report on pkg/.
|
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: piyush-garg, 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 |
change master to main for upstream
This pull request adds a
tkn pipeline create
command that helps address #192. It draws a lot of its design from #265 with some fixes from the original proposal.This implementation only supports YAML. It can create a pipeline via a pipeline defined in a local or remote file.
Usage:
Local file:
tkn pipeline create -f localfile.yaml
Remote file:
tkn pipeline create -f https://foo.com/remotefile.yaml
Co-Authored-By: Jie Shen [email protected]
Submitter Checklist
make docs
andmake man
if needed.make check
Release Notes