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

Fix streaming logs output from a PipelineRun on start #606

Merged
merged 3 commits into from
Aug 2, 2021

Conversation

sudhirverma
Copy link
Contributor

Fix: #350

@codecov-commenter
Copy link

codecov-commenter commented Jul 7, 2021

Codecov Report

Merging #606 (d48c1e0) into master (a4e2461) will decrease coverage by 0.01%.
The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #606      +/-   ##
==========================================
- Coverage   68.22%   68.21%   -0.02%     
==========================================
  Files         103      103              
  Lines        6316     6326      +10     
  Branches     1146     1149       +3     
==========================================
+ Hits         4309     4315       +6     
- Misses       2007     2011       +4     
Impacted Files Coverage Δ
src/tekton/addtrigger.ts 91.66% <62.50%> (-1.58%) ⬇️
src/tekton/pipelinerun.ts 81.63% <100.00%> (+0.78%) ⬆️
src/cli.ts 85.24% <0.00%> (-1.64%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a4e2461...d48c1e0. Read the comment docs.

package.json Outdated
@@ -97,6 +97,12 @@
"default": false,
"description": "Show Tekton Pipeline output channel when new text added to output stream"
},
"vs-tekton.showPipelineRunFollowLogs": {
"title": "Show pipelineRun follow Logs",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better to have preference for regular start pipeline command, something like Show logs on pipeline start/run, instead of having separate command. Or at least title of this command can be changed to: Start Pipeline with logs.
@mohitsuman WDYT?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think having vscode setting preference on the pipeline run and logs makes sense. And for the title Start Pipeline with logs works.

package.json Outdated
"title": "Start pipeline with logs",
"type": "boolean",
"default": true,
"description": "Show pipelineRun follow logs while starting pipeline."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pipelineRun -> PipelineRun

package.json Outdated Show resolved Hide resolved
@sudhirverma sudhirverma merged commit fb3d913 into redhat-developer:master Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Streaming logs output from a PipelineRun on start
4 participants