Backed out changeset fd1f5c916045 (bug 1340564)

--HG--
extra : rebase_source : 91d148347dff80de173af7a5029cab0de38b9b24
This commit is contained in:
Carsten "Tomcat" Book 2017-05-12 15:59:26 +02:00
Родитель 1edb7523f1
Коммит 34cc630733
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -98,10 +98,7 @@ 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, task in full_task_json.iteritems()
if "talos_try_name" in task['attributes']
]
task_labels = [label for label in full_task_json if "talos" in label]
for time in xrange(times):
add_tasks(decision_task_id, task_labels, '{}-'.format(time))