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
This commit is contained in:
Monty Taylor 2019-01-09 20:38:47 +00:00 committed by James E. Blair
parent 83b493648a
commit 3844e71d56
1 changed files with 6 additions and 1 deletions

View File

@ -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',