将Gerrit与Gitlab集成

Lav*_*s L 5 integrate gerrit gitlab

你有任何技巧或教程如何将GerritGitlab集成- Gerrit应该作为Gitlab repo的代码审查吗?

小智 3

是的,它可以轻松集成,安装 gitlab 和 gerrit。

1. create your repository on gitlab.
2. git clone --mirror <gitlab repo url>
3. create project on gerrit.
4. git push --mirror <gerrit_project_url>
5. configure gerrit replication plugin, this will replicate your all the changes to gitlab.
Run Code Online (Sandbox Code Playgroud)

注意:您可以使用 gerrit oauth 插件进行身份验证,使用 gitlab 和 jenkins 来验证构建。

https://gerrit.googlesource.com/plugins/replication/+doc/master/src/main/resources/Documentation/config.md