Merge "No longer push refs/changes to GitHub mirrors"

This commit is contained in:
Zuul 2020-04-17 19:50:41 +00:00 committed by Gerrit Code Review
commit 268c6a7156
2 changed files with 8 additions and 0 deletions

View File

@ -9,6 +9,9 @@ gerrit_replication:
- '^openstack/(?!ara$|ara-web$|ara-infra$).*'
- 'openstack-dev/*'
- 'openstack-infra/*'
push:
- '+refs/heads/*:refs/heads/*'
- '+refs/tags/*:refs/tags/*'
- name: 'gitea01'
url: 'ssh://git@gitea01.opendev.org:222/'
authGroup: 'Anonymous Users'

View File

@ -29,4 +29,9 @@ replicateOnStartup = false
projects = {{ project }}
{% endfor %}
{% endif %}
{% if 'push' in replication %}
{% for refspec in replication.push %}
push = {{ refspec }}
{% endfor %}
{% endif %}
{% endfor %}