简体   繁体   English

Gerrit + GitLab的CI

[英]Gerrit + GitLab's CI

We have been using Gerrit for code review, but now we want to use GitLab's CI as one of the code review reviewers. 我们一直在使用Gerrit进行代码审查,但现在我们希望将GitLab的CI用作代码审查审阅者之一。 Basically if the GitLab CI build is successful the review would pass for the user represented by GitLab's CI. 基本上,如果GitLab CI构建成功,则审核将通过GitLab CI表示的用户。

I guess I could set up a couple of hooks to get both systems to talk, but I am wondering if someone already did this and/or if someone could give me pointers on how to get it running. 我想我可以设置几个钩子来让两个系统都能说话,但是我想知道是否有人已经这样做了和/或是否有人可以给我指示如何让它运行。

Have you looked at "yiree" (Jiri)? 你看过“yiree”(吉日)吗? It is perhaps a bit more than you want, and it has its own CL flow, but the hooks between a git-like repo and Gerrit are there: https://github.com/vanadium/go.jiri 它可能比你想要的多一点,并且它有自己的CL流程,但是git-like repo和Gerrit之间的钩子就在那里: https//github.com/vanadium/go.jiri

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM