Show Status of Steps with TaskRun Describe#450
Show Status of Steps with TaskRun Describe#450tekton-robot merged 1 commit intotektoncd:masterfrom danielhelfand:tr_step_status
Conversation
|
The following is the coverage report on pkg/.
|
|
The following is the coverage report on pkg/.
|
|
Changing to |
|
The following is the coverage report on pkg/.
|
|
/test pull-tekton-cli-unit-tests |
There was a problem hiding this comment.
Open to suggestions is there's a better message that can be returned here. The issue centers around that this will display when the step is not actually executing. state.Running != nil when the pod is initialized and container is ready.
There was a problem hiding this comment.
@danielhelfand yeah for now this is the best we can do I think…
|
I have updated the pr description and have updated the pr to take into account |
|
The following is the coverage report on pkg/.
|
There was a problem hiding this comment.
@danielhelfand yeah for now this is the best we can do I think…
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
#445 | [Chmouel Boudjnah] Fix brew install from tap | 2019/11/08-05:20 #446 | [Chmouel Boudjnah] Update README to 0.5.0 | 2019/11/08-07:01 #443 | [Piyush Garg] Show param default value in task describe | 2019/11/08-07:45 #443 | [Piyush Garg] Change DEFAULT_VALUE to DEFAULT VALUE | 2019/11/08-07:45 #447 | [Chmouel Boudjnah] Add Release process documentation | 2019/11/08-08:23 #449 | [Vincent Demeester] Linting yamls with yamllint 🏷 | 2019/11/08-10:09 #452 | [Piyush Garg] Add cloudEvent resource support to start command | 2019/11/11-22:56 #457 | [Piyush Garg] Fix resource creation failure in case of multiple | 2019/11/13-00:49 #450 | [danielhelfand] show status of steps with taskrun describe | 2019/11/13-08:00 #461 | [Piyush Garg] Update go.sum | 2019/11/14-03:01 null | [Vincent Demeester] Bump plumbing to latest changes 🔗 | 2019/11/14-04:36 null | [Dan Lorenc] Add a --filename parameter to 'tkn tasks start'. | 2019/11/15-02:38 null | [Piyush Garg] Fix interactive input params on pipeline start | 2019/11/15-03:54 null | [Daniel Helfand] include os and version in issue template | 2019/11/18-14:57 null | [Chmouel Boudjnah] Add Installtion instruction when compiling from source | 2019/11/20-06:23 null | [Navid Shaikh] Uses vendored deps while building the binary in Makefile | 2019/11/20-07:58 null | [Daniel Helfand] add check in pr logs for if condition available | 2019/11/21-02:53 Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
Closes #440
This pull request adds the ability to see the status of a step with
tkn tr describe.Possible values are
CompletedandErrorfor a step fromTerminated.Completeddoes not always imply the step ran successfully. It represents that no error occurred for the step, or the step never ran due to a previous step failure.PodInitializingwill appear when the step is in aWaitingstate.Runningwill appear when the step is actually executing and also when the pod has been initialized for the step. I am open to suggestions on if there's a better message that could be displayed to end users.STATUSis mapped to the propertyReasonon theStepStatefromTerminatedorWaiting, but will beRunningif theRunningproperty on theStepStateisn'tnil.Limitation of approach in this pr is that steps are not ordered by start time. It may take some planning around how to deal with
StartedAtnot always being present for a step.Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make docsandmake manif needed.make checkRelease Notes