-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Display Workspaces in the output of PipelineRun describe command
The workspaces declared in the PipelineRun will be displayed in the output of pipelinerun describe command. When we will do `tkn pipelinerun desc <name>` workspace name, subpath and workspace binding will be displayed in the output. Signed-off-by: vinamra28 <vinjain@redhat.com>
- Loading branch information
1 parent
ffd3d04
commit a77f5ff
Showing
21 changed files
with
267 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
No taskruns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
pkg/cmd/pipelinerun/testdata/TestPipelineRunDescribe_v1beta1_with_workspaces.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Name: pipeline-run | ||
Namespace: ns | ||
Pipeline Ref: pipeline | ||
|
||
Status | ||
|
||
STARTED DURATION STATUS | ||
10 minutes ago 20 minutes Succeeded | ||
|
||
Resources | ||
|
||
NAME RESOURCE REF | ||
res-1 test-res | ||
|
||
Params | ||
|
||
NAME VALUE | ||
p-1 somethingdifferent | ||
|
||
Results | ||
|
||
NAME VALUE | ||
result-1 value-1 | ||
result-2 value-2 | ||
|
||
Workspaces | ||
|
||
NAME SUB PATH WORKSPACE BINDING | ||
test test EmptyDir (emptyDir=) | ||
configmap --- ConfigMap (config=bar) | ||
secret --- Secret (secret=foobar) | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
tr-1 t-1 0 seconds ago 5 minutes Failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
No taskruns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
No taskruns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
NAME TASK NAME STARTED DURATION STATUS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,10 @@ Results | |
|
||
No results | ||
|
||
Workspaces | ||
|
||
No workspaces | ||
|
||
Taskruns | ||
|
||
No taskruns |
Oops, something went wrong.