Add OpenStack themed status screen for Zuul.
Requires Zuul support for JSON status endpoints. Change-Id: I899a54af6d380aa2836a85757492e7590be90e8b Reviewed-on: https://review.openstack.org/18580 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
bdce24b4af
commit
dd376c61bd
@ -124,7 +124,7 @@ class zuul (
|
||||
file { '/var/lib/zuul/git':
|
||||
ensure => directory,
|
||||
owner => 'zuul',
|
||||
require => User['zuul'],
|
||||
require => File['/var/lib/zuul'],
|
||||
}
|
||||
|
||||
file { '/var/lib/zuul/ssh':
|
||||
|
@ -1,5 +1,6 @@
|
||||
<VirtualHost <%= scope.lookupvar("::zuul::vhost_name") %>:80>
|
||||
ServerAdmin <%= scope.lookupvar("::zuul::serveradmin") %>
|
||||
DocumentRoot /var/lib/zuul/www
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("::zuul::vhost_name") %>-error.log
|
||||
|
||||
@ -8,8 +9,8 @@
|
||||
CustomLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("::zuul::vhost_name") %>-access.log combined
|
||||
|
||||
RewriteEngine on
|
||||
RewriteRule /zuul/status http://127.0.0.1:8001/status [P]
|
||||
RewriteRule ^/$ http://127.0.0.1:8001/status [P]
|
||||
RewriteRule ^/zuul/status$ http://127.0.0.1:8001/status [P]
|
||||
RewriteRule ^/status.json$ http://127.0.0.1:8001/status.json [P]
|
||||
|
||||
Alias /rechecks.html /var/www/recheckwatch/rechecks.html
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user