hydra
hydra copied to clipboard
Gitlab support
It would be nice if hydra supported GitLab in all the ways (3 plugins, I believe) it supports GitHub.
@Ericson2314 I have a PR to add the Gitlab MR support. Do not hesitate to review it:)
@nlewo oh, great!
https://github.com/NixOS/hydra/pull/592 is said PR. (I hope to get to this quite soon, but linking it here for posterity.)
#649 for gitlab status support.
Hey @globin i have a question about the status support plugin:
https://github.com/NixOS/hydra/blob/master/src/lib/Hydra/Plugin/GitlabStatus.pm#L63 this line does not work with SSH checkout URLs (like "[email protected]:foo/bar.git") but only with http(s) URLs.
So i have the impression that you authenticate via HTTP(S), but i would need that for private repositories. Is that a use case that we share? For now, i am running a patched version of the plugin that simply hardcodes the gitlab server as we have only a single one. But i'd prefer to not patch it and authenticate properly via HTTPS.
Hey @globin i have a question about the status support plugin:
https://github.com/NixOS/hydra/blob/master/src/lib/Hydra/Plugin/GitlabStatus.pm#L63 this line does not work with SSH checkout URLs (like "[email protected]:foo/bar.git") but only with http(s) URLs.
So i have the impression that you authenticate via HTTP(S), but i would need that for private repositories. Is that a use case that we share? For now, i am running a patched version of the plugin that simply hardcodes the gitlab server as we have only a single one. But i'd prefer to not patch it and authenticate properly via HTTPS.
I just ran into this myself. The offending line is here - it tries to parse the SSH host as a URI.
An easy fix would be to use another string input for the domain.