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

tkn task/pipeline describe shows the taskrun/pipelinerun sorted by taskrun/pipelinerun name instead of STARTED #839

Closed
VeereshAradhya opened this issue Mar 26, 2020 · 3 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@VeereshAradhya
Copy link
Contributor

Version and Operating System

tkn Version:
v0.8.0

Operating System:
Linux

Expected Behavior

tkn task/pipeline describe should show the taskrun/pipelinerun STARTED (In descending order)

Actual Behavior

tkn task/pipeline describe shows the taskrun/pipelinerun sorted by taskrun/pipelinerun name instead of STARTED

Steps to Reproduce the Problem

  1. Create task and pipeline
  2. Start the pipeline several times
  3. Describe the pipeline/task and observe the pipelinerun/taskrun history

Additional Info

User will be mostly worried about the latest results of the task/pipeline

$ tkn pipeline describe build-and-deploy 
Name:        build-and-deploy
Namespace:   test-tekton

📦 Resources

 NAME         TYPE
 ∙ git-repo   git
 ∙ image      image

⚓ Params

 NAME                TYPE     DEFAULT VALUE
 ∙ deployment-name   string   ---

🗒  Tasks

 NAME                  TASKREF             RUNAFTER
 ∙ build-image         buildah             
 ∙ apply-manifests     apply-manifests     build-image
 ∙ update-deployment   update-deployment   apply-manifests

⛩  PipelineRuns

 NAME                           STARTED          DURATION    STATUS
 ∙ build-and-deploy-run-4z7zw   17 minutes ago   3 minutes   Failed
 ∙ build-and-deploy-run-68nnm   1 minute ago     ---         Running
 ∙ build-and-deploy-run-mbtnh   16 minutes ago   2 minutes   Failed
 ∙ build-and-deploy-run-x6lds   8 minutes ago    4 minutes   Succeeded
 ∙ build-and-deploy-run-zdmvm   8 minutes ago    4 minutes   Succeeded

@danielhelfand danielhelfand added the kind/bug Categorizes issue or PR as related to a bug. label Mar 26, 2020
@danielhelfand
Copy link
Member

/assign

@danielhelfand
Copy link
Member

danielhelfand commented Apr 12, 2020

Full list of resources affected:

@danielhelfand
Copy link
Member

It looks like we actually already support this with PipelineRun, so this should be resolved.

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

No branches or pull requests

2 participants