commit cae58690dcc00134a7639a1504b32ae1a9d31c43 Author: Clark Boylan Date: Fri Oct 9 09:42:29 2020 -0700 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 diff --git a/inventory/service/host_vars/review-test.opendev.org.yaml b/inventory/service/host_vars/review-test.opendev.org.yaml index c101ae7..67ef0ed 100644 --- a/inventory/service/host_vars/review-test.opendev.org.yaml +++ b/inventory/service/host_vars/review-test.opendev.org.yaml @@ -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 diff --git a/inventory/service/host_vars/review01.openstack.org.yaml b/inventory/service/host_vars/review01.openstack.org.yaml index 86396fd..29dbe95 100644 --- a/inventory/service/host_vars/review01.openstack.org.yaml +++ b/inventory/service/host_vars/review01.openstack.org.yaml @@ -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