Add option to elastic-recheck-graph to pick a single queue
In preperation for providing a web page that will just show hits on the gate queue, add a '-q queue' option to elastic-recheck-graph. Change-Id: I9217a2ceedf86ffe04851084df78238384fccd51
This commit is contained in:
@@ -59,6 +59,13 @@ def generic(raw_query, facet=None):
|
||||
return query
|
||||
|
||||
|
||||
def single_queue(query, queue, facet=None):
|
||||
"""A query for a single queue."""
|
||||
return generic('%s '
|
||||
'AND build_queue:"%s" ' %
|
||||
(query, queue), facet=facet)
|
||||
|
||||
|
||||
def result_ready(review, patch, name, short_build_uuid):
|
||||
"""A query to determine if we have a failure for a particular patch.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user