Added support for pipeline bridges#1203
Conversation
nejch
left a comment
There was a problem hiding this comment.
Thanks a lot for this addition! :) I just added a few comments.
Would you mind adding some unit tests for this? You can find examples here: https://github.com/python-gitlab/python-gitlab/tree/master/gitlab/tests/objects
Also, to make the build green you will need to amend your commit message to comply with conventional commits, see instructions here: https://github.com/python-gitlab/python-gitlab/#development-workflow
Let me know if you get stuck.
|
Need to re-create commit messages |
@intostern You can force-push to the same branch after fixing/squashing, no need to close the pull request 😉 |
Thanks, will force-push |
8cdce6f to
2cdefe0
Compare
Codecov Report
@@ Coverage Diff @@
## master #1203 +/- ##
==========================================
+ Coverage 77.50% 77.56% +0.05%
==========================================
Files 11 11
Lines 2819 2826 +7
==========================================
+ Hits 2185 2192 +7
Misses 634 634
Continue to review full report at Codecov.
|
|
Hi @nejch , All done. |
|
Thanks for the MR. Looks good! |
|
Hi I'd like to use this feature but it seems like it was merged since the latest release of this library. Is there a way to install a prerelease/nightly version so I can access this feature. Also is there any eta on this feature being released? |
Hi,
If you use child pipelines, in your project, i.e.:
,
then API call
pipeline.jobs.list()doesn't include child pipelines into output.There is a different API call for this: https://docs.gitlab.com/ee/api/jobs.html#list-pipeline-bridges
With this PR you'll be able to exeute:
bridges = pipeline.bridges.list()