зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1340564: use attributes to identify talos jobs; r=bstack
MozReview-Commit-ID: B29F5SL8JNr --HG-- extra : source : fd1f5c9160453dec2a83293cbf1f727a2d5ffc0a
This commit is contained in:
Родитель
8cd3cb39d2
Коммит
fd4071972b
|
@ -98,7 +98,10 @@ def add_talos(decision_task_id, times=1):
|
|||
* Adding all talos jobs to a push.
|
||||
"""
|
||||
full_task_json = get_artifact(decision_task_id, "public/full-task-graph.json")
|
||||
task_labels = [label for label in full_task_json if "talos" in label]
|
||||
task_labels = [
|
||||
label for label, task in full_task_json.iteritems()
|
||||
if "talos_try_name" in task['attributes']
|
||||
]
|
||||
for time in xrange(times):
|
||||
add_tasks(decision_task_id, task_labels, '{}-'.format(time))
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче