You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/02/19 12:07:46 UTC
[kibble] branch master updated: shows builds running
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
The following commit(s) were added to refs/heads/master by this push:
new e627c7e shows builds running
e627c7e is described below
commit e627c7e962369b0768f4c872390b111b8e678b07
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Feb 19 13:07:39 2018 +0100
shows builds running
---
api/pages/ci/queue.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/api/pages/ci/queue.py b/api/pages/ci/queue.py
index f7fb08b..844dcc7 100644
--- a/api/pages/ci/queue.py
+++ b/api/pages/ci/queue.py
@@ -139,6 +139,11 @@ def run(API, environ, indata, session):
'field': 'blocked'
}
},
+ 'building': {
+ 'avg': {
+ 'field': 'building'
+ }
+ },
'stuck': {
'avg': {
'field': 'stuck'
@@ -168,6 +173,7 @@ def run(API, environ, indata, session):
timeseries.append({
'date': ts,
'queue size': bucket['size']['value'],
+ 'builds running': bucket['building']['value'],
# 'builds blocked': bucket['blocked']['value'],
# 'builds stuck': bucket['stuck']['value'],
'average wait (hours)': int(bucket['wait']['value']/360)/10,
--
To stop receiving notification emails like this one, please contact
humbedooh@apache.org.