将Gerrit与Gitlab集成

6
你有没有关于如何将 GerritGitlab 集成的提示或教程?Gerrit 应该作为 Gitlab 存储库的代码审核。
1个回答

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.

注意: 您可以使用Gerrit OAuth插件来使用GitLab进行身份验证,并使用Jenkins验证构建。

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


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接