Have Zuul replicate to git.o.o

Change-Id: I750e8ea75181dacb10275a38fa702ed1edb56d4c
This commit is contained in:
James E. Blair 2014-01-08 12:07:10 +08:00
parent eae03877f5
commit bcafe34cfb
2 changed files with 8 additions and 1 deletions

View File

@ -32,7 +32,8 @@ class zuul (
$push_change_refs = false,
$job_name_in_report = false,
$revision = 'master',
$statsd_host = ''
$statsd_host = '',
$replication_targets = []
) {
include apache
include pip

View File

@ -20,3 +20,9 @@ url_pattern=<%= url_pattern %>
status_url=<%= status_url %>
job_name_in_report=<%= job_name_in_report %>
zuul_url=<%= zuul_url %>
<% if replication_targets != [] -%>
[replication]
<% replication_targets.each do |target| -%>
<%= target['name'] %>=<%= target['url'] %>
<% end -%>