-
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
Add feature to start task #347
Conversation
/work-in-progress |
The following is the coverage report on pkg/.
|
/status in-progress |
/hold |
The following is the coverage report on pkg/.
|
/hold cancel |
The following is the coverage report on pkg/.
|
/cc hrishin |
/cc pradeepitm12 |
The following is the coverage report on pkg/.
|
/test pull-tekton-cli-unit-tests |
2 similar comments
/test pull-tekton-cli-unit-tests |
/test pull-tekton-cli-unit-tests |
/test pull-tekton-cli-unit-tests |
The following is the coverage report on pkg/.
|
This will add the feature of starting a task or creating a taskrun from cli Command will be like `tkn task start ..` Add -i flag for input resources Add -o flag for output resources Add -p flag for param Add -l flag for labels Add --last flag for starting on basis of last run Add -s flag for serviceaccount Add docs and tests Refactoring to remove duplicate code Fix tektoncd#320
The following is the coverage report on pkg/.
|
/test pull-tekton-cli-unit-tests |
1 similar comment
/test pull-tekton-cli-unit-tests |
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.
@@ -26,6 +26,8 @@ import ( | |||
"github.com/tektoncd/cli/pkg/cli" | |||
"github.com/tektoncd/cli/pkg/cmd/pipelinerun" | |||
"github.com/tektoncd/cli/pkg/flags" | |||
"github.com/tektoncd/cli/pkg/helper/labels" |
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.
nit: I am not a huge fine of the helper
package but it's already there, so can be changed in a follow-up anyway 😉
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.
This is required for both, start pipeline
and start task
so I put this in helper
[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 |
/test pull-tekton-cli-unit-tests |
2 similar comments
/test pull-tekton-cli-unit-tests |
/test pull-tekton-cli-unit-tests |
Changes
This will add the feature of starting
a task or creating a taskrun from cli
Command will be like
tkn task start ..
Add -i flag for input resources
Add -o flag for output resources
Add -p flag for param
Add -l flag for labels
Add --last flag for starting on basis of last run
Add -s flag for serviceaccount
Add docs and tests
Refactoring to remove duplicate code
Fix #320
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make docs
andmake man
if needed.make check
See the contribution guide
for more details.
Release Notes