From cae58690dcc00134a7639a1504b32ae1a9d31c43 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 9 Oct 2020 09:42:29 -0700 Subject: [PATCH] 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 --- inventory/service/host_vars/review-test.opendev.org.yaml | 7 +------ inventory/service/host_vars/review01.openstack.org.yaml | 5 ----- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/inventory/service/host_vars/review-test.opendev.org.yaml b/inventory/service/host_vars/review-test.opendev.org.yaml index c101ae7dfd..67ef0edfcb 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 86396fd912..29dbe95594 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