Reflect zuul window in status page.
Add a grey blob to indicate changes outside of the zuul dependent pipeline queue windows. Change-Id: I5cb254381bb51832ba114331082ac5c1d88d1b08
This commit is contained in:
parent
59ca82770b
commit
03b232c178
BIN
modules/openstack_project/files/zuul/grey.png
Normal file
BIN
modules/openstack_project/files/zuul/grey.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 364 B |
@ -226,7 +226,9 @@ function format_change(change, change_queue) {
|
||||
}
|
||||
html += '<td class="'+cls+'">';
|
||||
if (i == change['_tree_index']) {
|
||||
if (change['failing_reasons'] && change['failing_reasons'].length > 0) {
|
||||
if (change['active'] != true) {
|
||||
html += '<img src="grey.png" title="Waiting until closer to head of queue to start jobs"/>';
|
||||
} else if (change['failing_reasons'] && change['failing_reasons'].length > 0) {
|
||||
var reason = change['failing_reasons'].join(', ');
|
||||
var image = 'red.png';
|
||||
if (reason.match(/merge conflict/)) {
|
||||
|
@ -186,6 +186,12 @@ class openstack_project::status (
|
||||
require => File['/srv/static/status/zuul'],
|
||||
}
|
||||
|
||||
file { '/srv/static/status/zuul/grey.png':
|
||||
ensure => present,
|
||||
source => 'puppet:///modules/openstack_project/zuul/grey.png',
|
||||
require => File['/srv/static/status/zuul'],
|
||||
}
|
||||
|
||||
file { '/srv/static/status/zuul/line-angle.png':
|
||||
ensure => present,
|
||||
source => 'puppet:///modules/openstack_project/zuul/line-angle.png',
|
||||
|
Loading…
x
Reference in New Issue
Block a user