Create gitlab project sharing a gerrit repository

I can create a new gitlab project and import the url for a gerrit repo.
But is it possible for gitlab and gerrit to share the same repository? So, if I already have a gerrit project/repository, can gitlab use that repo instance as its repo?
I guess they would have to be on the same machine?

1 Like

Usual workflow with Gerrit is the other way around: you configure Gerrit as primary repo ad instruct it to mirror changes to GitLab using the replication plugin.

Also, you can checkout some useful scripts I made publicly available to improve the communication between GitLab and Gerrit.