From 3844e71d565b622a16ab387c3ffceb1cc3ed7fef Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Wed, 9 Jan 2019 20:38:47 +0000 Subject: [PATCH] Only replicate branches and tags to gitea The refs/changes for repos are a bit expensive size-wise on the cephfs as the moment (which may be better in the next ceph release) Aslo, gitea doesn't really know how to handle the refs/changes refs. For now, only replicate branches and tags. While we're making settings, bump the thread count up so that we're replicating a bit more in parallel, and update the gitea POC ip address. Change-Id: I2ca2834357c6795dc1dfd63c2e39272f51717f76 Depends-On: https://review.openstack.org/629658 --- modules/openstack_project/manifests/review.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/review.pp b/modules/openstack_project/manifests/review.pp index 81c64ad8d4..72770bc016 100644 --- a/modules/openstack_project/manifests/review.pp +++ b/modules/openstack_project/manifests/review.pp @@ -251,11 +251,16 @@ class openstack_project::review ( }, { name => 'gitea', - url => 'git@38.108.68.66:', + url => 'git@38.108.68.64:', authGroup => 'Anonymous Users', replicationDelay => '1', replicatePermissions => false, mirror => true, + push => [ + '+refs/heads/*:refs/heads/*', + '+refs/tags/*:refs/tags/*', + ], + threads => '8', }, { name => 'local',