Add the ability to show pipelines within vscode
Problem to solve
Currently, it's necessary to open the pipeline in the GitLab web interface to learn details about jobs.
We show some rudimentary pipeline information in two places:
status bar | |
"For current branch" sidebar |
Proposal
Extend the tree item in the sidebar to show information about all jobs:
before | after |
---|---|
Further details
The API information is available and it should be fairly simple to render the UI as shown above.
This work would provide basis for:
- starting/stopping/retrying jobs #97
- seeing job logs #423 (closed)
- downloading job artifacts #106 (closed)
The auto-update would be a great follow-up Auto update "For Current Branch" tab in sidebar
Original description
Possible duplicate: #97
Problem to solve
It's very convenient having the ability to create, view, and comment on issues from within vscode.
I understand there are a few open issues related to pipelines jobs that I'd assume would be tied into this solution. But I didn't see an open issue specifically requesting this feature, although #97 may actually be good enough honestly, if it would work like issues/MRs do.
Proposal
Curious if embedding /-/pipelines/$Pipeline_ID
would be an option, similar to what the experience is when clicking an issue and how we can "View issue and MR details and comments in VS Code"? This would at least allow us to see which job failed, if nothing else.
Further details
It looks like @fatihacet did some work towards integrating jobs under pipelines in For Current Branch section of the sidebar and that's great!...not sure if that work/code transferred over with the project ownership shift. I'm not sure if the intent was clicking one of those jobs would have opened the build output?...that's what I would love to see!