Expose zuul_status_url for zuulv3
With zuulv3 we have created per tenant status.json files. Expose this to allow us to properly configure the 'openstack' tenant for the webui. Change-Id: I866e4ffa90930a44b4cdac5a48e7034bb0d6398d Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
534fa140b2
commit
df1913b654
|
@ -32,6 +32,7 @@ class zuul (
|
|||
$tenant_file_name = 'main.yaml',
|
||||
$url_pattern = '',
|
||||
$status_url = "https://${::fqdn}/",
|
||||
$zuul_status_url = 'http://127.0.0.1:8001',
|
||||
$zuul_url = '',
|
||||
$git_source_repo = 'https://git.openstack.org/openstack-infra/zuul',
|
||||
$job_name_in_report = false,
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
RewriteCond %{HTTP_REFERER} =<%= referer %>
|
||||
RewriteRule ^/status.json - [F]
|
||||
<% end -%>
|
||||
RewriteRule ^/status.json$ http://127.0.0.1:8001/status.json [P]
|
||||
RewriteRule ^/status/(.*) http://127.0.0.1:8001/status/$1 [P]
|
||||
RewriteRule ^/status.json$ <%= @zuul_status_url %>/status.json [P]
|
||||
RewriteRule ^/status/(.*) <%= @zuul_status_url %>/status/$1 [P]
|
||||
|
||||
AddOutputFilterByType DEFLATE application/json
|
||||
|
||||
|
@ -98,8 +98,8 @@
|
|||
RewriteCond %{HTTP_REFERER} =<%= referer %>
|
||||
RewriteRule ^/status.json - [F]
|
||||
<% end -%>
|
||||
RewriteRule ^/status.json$ http://127.0.0.1:8001/status.json [P]
|
||||
RewriteRule ^/status/(.*) http://127.0.0.1:8001/status/$1 [P]
|
||||
RewriteRule ^/status.json$ <%= @zuul_status_url %>/status.json [P]
|
||||
RewriteRule ^/status/(.*) <%= @zuul_status_url %>/status/$1 [P]
|
||||
|
||||
AddOutputFilterByType DEFLATE application/json
|
||||
|
||||
|
|
Loading…
Reference in New Issue