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

Task logs subcommand #414

Closed
vdemeester opened this issue Oct 27, 2019 · 7 comments
Closed

Task logs subcommand #414

vdemeester opened this issue Oct 27, 2019 · 7 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Milestone

Comments

@vdemeester
Copy link
Member

Expected Behavior

Being able to do a tkn task logs … as tkn pipeline logs …

$ tkn task logs
? Select task :  [Use arrows to move, type to filter]
> task-foo
  task-bar
  task-baz
$ tkn task logs
? Select task : task-bar
? Select taskrun :  [Use arrows to move, type to filter]
> task-bar-2tppc started 12 hours ago
  task-bar-cp89g started 1 day ago
  task-bar-7dznt started 2 days ago

Actual Behavior

$ tkn task logs
Manage tasks

Usage:
  tkn task [command]

Aliases:
  task, t, tasks

Available Commands:
  delete      Delete a task resource in a namespace
  list        Lists tasks in a namespace

Flags:
  -h, --help                help for task
  -k, --kubeconfig string   kubectl config file (default: $HOME/.kube/config)
  -n, --namespace string    namespace to use (default: from $KUBECONFIG)
  -C, --nocolour            disable colouring (default: false)

Use "tkn task [command] --help" for more information about a command.

/kind feature

@tekton-robot tekton-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Oct 27, 2019
@vdemeester vdemeester added this to the 0.6.0 milestone Oct 27, 2019
@chmouel
Copy link
Member

chmouel commented Oct 27, 2019 via email

@vdemeester
Copy link
Member Author

Well, #263 is about taskrun, this is about task 👼 (btw, I don't think we have a pipelinerun interactive mode 😝 )

16yuki0702 added a commit to 16yuki0702/cli that referenced this issue Nov 27, 2019
Extract common struct and methods to other packages to reuse.
and make pipelinerun logs interactive.
tekton-robot pushed a commit that referenced this issue Nov 27, 2019
Extract common struct and methods to other packages to reuse.
and make pipelinerun logs interactive.
@16yuki0702
Copy link
Member

I'll try it 👍

@16yuki0702
Copy link
Member

/assign

danielhelfand added a commit that referenced this issue Dec 11, 2019
#478 | [Daniel Helfand] adding timeout to tkn task start | 2019/11/26-10:59
#469 | [Daniel Helfand] include taskrun failure message in logs | 2019/11/26-11:54
#432 | [16yuki0702] Related issues are #263 #414 | 2019/11/27-03:16
#481 | [Vibhav Bobade] Feature: Set current kubernetes context | 2019/11/27-22:06
#481 | [Vibhav Bobade] Updated docs/man with new feature for setting kubecontext | 2019/11/27-22:06
#484 | [Chmouel Boudjnah] Add a step into the RELEASE_PROCESS documentation | 2019/11/29-08:42
#483 | [Piyush Garg] Fix failure in case of array param having single value | 2019/11/29-08:57
#485 | [Daniel Helfand] minor edits to RELEASE_PROCESS.md | 2019/11/29-09:26
#487 | [Daniel Helfand] 0.5.1 version in README | 2019/12/01-11:02
#486 | [Piyush Garg] Improve message for creating new resource in start | 2019/12/02-01:05
null | [Chmouel Boudjnah] Use serviceAccountName instead of serviceAccount | 2019/12/03-10:11
null | [Daniel Helfand] remove extra space from tr not found error | 2019/12/03-10:42
null | [16yuki0702] Making taskrun logs interactive. | 2019/12/04-09:25
null | [16yuki0702] Correcting interactive menu string and testing error messages | 2019/12/04-09:25
null | [Vincent Demeester] Add golint to the linter 🚐 | 2019/12/04-10:16
null | [Vincent Demeester] Fix golint errors 👨‍🍳 | 2019/12/04-10:16
null | [Piyush Garg] Bump tektoncd/pipeline to version 0.9.0 | 2019/12/04-15:12
null | [Piyush Garg] Fixes to support tekton pipeline 0.9.0 | 2019/12/04-15:12
null | [Daniel Helfand] add pipeline create command | 2019/12/05-09:10
null | [Daniel Helfand] add task create command | 2019/12/05-10:05
null | [Piyush Garg] Bump to tektoncd/pipeline 0.9.1 | 2019/12/09-05:09
null | [Daniel Helfand] add namespace check to pipeline and task create commands | 2019/12/09-08:03
null | [Daniel Helfand] add resource create -f option | 2019/12/09-11:56
null | [Chmouel Boudjnah] Add NFPM (deb/rpm) release to goreleaser | 2019/12/10-13:15
null | [Piyush Garg] Fix input params are not respected | 2019/12/11-06:02
null | [Chmouel Boudjnah] Add debian package | 2019/12/11-09:25

Signed-off-by: Daniel Helfand <[email protected]>
16yuki0702 added a commit to 16yuki0702/cli that referenced this issue Dec 16, 2019
tekton-robot pushed a commit that referenced this issue Dec 16, 2019
@piyush-garg
Copy link
Contributor

/close Fixed in #508

@vdemeester
Copy link
Member Author

/close

@tekton-robot
Copy link
Contributor

@vdemeester: Closing this issue.

In response to this:

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

5 participants