Stop replicating to local git mirror on gerrit

We've disabled access to the local gerrit git mirrors at the /p/ prefix
previously as newer gerrit uses that path for something else. The next
step is to stop replicating to that location entirely.

Another reason for this is when we switch to notedb this local
replication will replicate everything then if we expose it we'd
potentially expose content we don't want to via git (rather than the
gerrit APIs).

Change-Id: I795466af3e1608eefe506ca56828327491f73c27
This commit is contained in:
Clark Boylan 2020-10-09 09:42:29 -07:00
parent 388ec27173
commit cae58690dc
2 changed files with 1 additions and 11 deletions

View File

@ -1,9 +1,4 @@
gerrit_replication:
- name: 'local'
url: 'file:///opt/lib/git/'
replicationDelay: '1'
threads: '4'
mirror: true
gerrit_replication: []
gerrit_storyboard_url: https://storyboard.openstack.org
gerrit_vhost_name: review-test.opendev.org
gerrit_heap_limit: 48g

View File

@ -55,11 +55,6 @@ gerrit_replication:
replicatePermissions: false
mirror: true
threads: '4'
- name: 'local'
url: 'file:///opt/lib/git/'
replicationDelay: '1'
threads: '4'
mirror: true
gerrit_storyboard_url: https://storyboard.openstack.org
gerrit_vhost_name: review.opendev.org
gerrit_redirect_vhost: review.openstack.org