Merge "Remove unused elastic-recheck files"
This commit is contained in:
commit
271838046c
@ -1,90 +0,0 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
||||||
xmlns:py="http://genshi.edgewall.org/"
|
|
||||||
lang="en">
|
|
||||||
<HEAD>
|
|
||||||
<TITLE>Elastic Recheck</TITLE>
|
|
||||||
|
|
||||||
<script type="text/javascript"
|
|
||||||
src="http://status.openstack.org/jquery.min.js"></script>
|
|
||||||
<script type="text/javascript"
|
|
||||||
src="http://status.openstack.org/jquery-visibility.min.js"></script>
|
|
||||||
<script type="text/javascript"
|
|
||||||
src="http://status.openstack.org/jquery-graphite.js"></script>
|
|
||||||
<script type="text/javascript"
|
|
||||||
src="http://status.openstack.org/common.js"></script>
|
|
||||||
<script type="text/javascript"
|
|
||||||
src="http://status.openstack.org/jquery.flot.min.js"></script>
|
|
||||||
<script type="text/javascript"
|
|
||||||
src="http://status.openstack.org/jquery.flot.time.min.js"></script>
|
|
||||||
<script type="text/javascript"
|
|
||||||
src="elastic-recheck.js"></script>
|
|
||||||
|
|
||||||
<!-- Google Fonts -->
|
|
||||||
<link href='http://fonts.googleapis.com/css?family=PT+Sans&subset=latin' rel='stylesheet' type='text/css'/>
|
|
||||||
|
|
||||||
<!-- Framework CSS -->
|
|
||||||
<link rel="stylesheet" href="http://www.openstack.org/themes/openstack/css/blueprint/screen.css" type="text/css" media="screen, projection"/>
|
|
||||||
<link rel="stylesheet" href="http://www.openstack.org/themes/openstack/css/blueprint/print.css" type="text/css" media="print"/>
|
|
||||||
|
|
||||||
<!-- IE CSS -->
|
|
||||||
<!--[if lt IE 8]><link rel="stylesheet" href="http://www.openstack.org/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
|
|
||||||
|
|
||||||
<!-- OpenStack Specific CSS -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="http://www.openstack.org/themes/openstack/css/dropdown.css" type="text/css" media="screen, projection, print"/>
|
|
||||||
|
|
||||||
<!-- Page Specific CSS -->
|
|
||||||
<link rel="stylesheet" href="http://www.openstack.org/themes/openstack/css/home.css" type="text/css" media="screen, projection, print"/>
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="http://www.openstack.org/themes/openstack/css/main.css" />
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.graph {
|
|
||||||
width: 600px;
|
|
||||||
height: 200px;
|
|
||||||
margin-bottom: 6px;
|
|
||||||
}
|
|
||||||
.extlink {
|
|
||||||
margin-left: 2em;
|
|
||||||
margin-right: 2em;
|
|
||||||
}
|
|
||||||
.bug-container {
|
|
||||||
margin-bottom: 2em;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</HEAD>
|
|
||||||
|
|
||||||
<BODY>
|
|
||||||
<script type="text/javascript">header('Rechecks');</script>
|
|
||||||
<div class="container" id="graph-container">
|
|
||||||
<script type="text/javascript">
|
|
||||||
$("#graph-container").append($(new Image()).graphite({
|
|
||||||
from: "-36hours",
|
|
||||||
url: "http://graphite.openstack.org/render/",
|
|
||||||
width: 600,
|
|
||||||
height: 400,
|
|
||||||
bgcolor: 'ffffff',
|
|
||||||
fgcolor: '000000',
|
|
||||||
target: [
|
|
||||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron.FAILURE,sum(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron.{SUCCESS,FAILURE})),200), 'gate-tempest-dsvm-neutron'),'00c868')",
|
|
||||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.check.job.check-tempest-dsvm-neutron.FAILURE,sum(stats.zuul.pipeline.check.job.check-tempest-dsvm-neutron.{SUCCESS,FAILURE})),200), 'check-tempest-dsvm-neutron'),'6464ff')",
|
|
||||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-full.FAILURE,sum(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-full.{SUCCESS,FAILURE})),200), 'gate-tempest-dsvm-full'),'00FF00')",
|
|
||||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.check.job.check-tempest-dsvm-full.FAILURE,sum(stats.zuul.pipeline.check.job.check-tempest-dsvm-full.{SUCCESS,FAILURE})),200), 'check-tempest-dsvm-full'),'ffbf52')",
|
|
||||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.check.job.check-grenade-dsvm.FAILURE,sum(stats.zuul.pipeline.check.job.check-grenade-dsvm.{SUCCESS,FAILURE})),200), 'check-grenade-dsvm'),'800080')",
|
|
||||||
],
|
|
||||||
title: "Gate Failure Rates"
|
|
||||||
}));
|
|
||||||
</script>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="main-container" class="container">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script type="text/javascript">footer();</script>
|
|
||||||
</BODY>
|
|
||||||
</html>
|
|
@ -1,64 +0,0 @@
|
|||||||
// Copyright 2013 OpenStack Foundation
|
|
||||||
//
|
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
||||||
// not use this file except in compliance with the License. You may obtain
|
|
||||||
// a copy of the License at
|
|
||||||
//
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
//
|
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
||||||
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
||||||
// License for the specific language governing permissions and limitations
|
|
||||||
// under the License.
|
|
||||||
|
|
||||||
function update() {
|
|
||||||
$.getJSON('http://status.openstack.org/elastic-recheck/graph.json', function(data) {
|
|
||||||
var seen = [];
|
|
||||||
$.each(data, function(i, bug) {
|
|
||||||
var id = 'bug-'+bug['number'];
|
|
||||||
seen.push(id);
|
|
||||||
var div = $('#'+id);
|
|
||||||
|
|
||||||
if (!div.length) {
|
|
||||||
div = $('<div/>', {'id': id, 'class': 'bug-container'});
|
|
||||||
div.appendTo($('#main-container'));
|
|
||||||
$('<h2/>', {text: 'Bug ' + bug['number']}).appendTo(div);
|
|
||||||
$('<div/>', {'class': 'graph'}).appendTo(div);
|
|
||||||
$('<a/>', {
|
|
||||||
href: 'http://logstash.openstack.org/#'+bug['logstash_query'],
|
|
||||||
text: 'Logstash'
|
|
||||||
}).appendTo($('<span/>', {
|
|
||||||
'class': 'extlink'
|
|
||||||
}).appendTo(div));
|
|
||||||
$('<a/>', {
|
|
||||||
href: 'https://bugs.launchpad.net/bugs/'+bug['number'],
|
|
||||||
text: 'Launchpad'
|
|
||||||
}).appendTo($('<span/>', {
|
|
||||||
'class': 'extlink'
|
|
||||||
}).appendTo(div));
|
|
||||||
}
|
|
||||||
div = div.find(".graph");
|
|
||||||
|
|
||||||
if (bug['data'].length > 0) {
|
|
||||||
$.plot(div, bug['data'],
|
|
||||||
{xaxis: {
|
|
||||||
mode: "time"
|
|
||||||
}}
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
div.html("No matches");
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
|
||||||
$.each($('.bug-container'), function(i, container) {
|
|
||||||
if (seen.indexOf(container.id) == -1) {
|
|
||||||
container.remove();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
$(function() {
|
|
||||||
update();
|
|
||||||
});
|
|
Loading…
x
Reference in New Issue
Block a user