Add demo support for openstack's live zuul feed
Change-Id: I8591231f39ee13f1e1b771bd3e7d71a1a927bba3
This commit is contained in:
parent
5855e99230
commit
668700bb1a
|
@ -21,9 +21,11 @@
|
|||
$queueResultsNum, $pipelines, $jq;
|
||||
var xhr, zuul,
|
||||
demo = location.search.match(/[?&]demo=([^?&]*)/),
|
||||
source_url = location.search.match(/[?&]source_url=([^?&]*)/),
|
||||
source = demo ?
|
||||
'./status-' + (demo[1] || 'basic') + '.json-sample' :
|
||||
'status.json';
|
||||
source = source_url ? source_url[1] : source;
|
||||
|
||||
zuul = {
|
||||
enabled: true,
|
||||
|
|
Loading…
Reference in New Issue