Have Zuul replicate to git.o.o
Change-Id: I750e8ea75181dacb10275a38fa702ed1edb56d4c
This commit is contained in:
parent
eae03877f5
commit
bcafe34cfb
|
@ -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
|
||||
|
|
|
@ -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 -%>
|
||||
|
|
Loading…
Reference in New Issue