Bug 1423215 - Upload an uncompressed runnable-jobs.json artifact in addition to the gz version r=dustin

Uploading both versions will hopefully make this easier to uplift. Once old pushes and artifacts expire, we can stop uploading the gzipped version.

Differential Revision: https://phabricator.services.mozilla.com/D13601

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Wes Kocher 2018-12-09 05:07:48 +00:00
Родитель 571d6b7d32
Коммит dc3585e58b
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -169,8 +169,9 @@ def taskgraph_decision(options, parameters=None):
full_task_json = tgg.full_task_graph.to_json()
write_artifact('full-task-graph.json', full_task_json)
# write out the public/runnable-jobs.json.gz file
# write out the public/runnable-jobs.json file
write_artifact('runnable-jobs.json.gz', full_task_graph_to_runnable_jobs(full_task_json))
write_artifact('runnable-jobs.json', full_task_graph_to_runnable_jobs(full_task_json))
# this is just a test to check whether the from_json() function is working
_, _ = TaskGraph.from_json(full_task_json)