mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
21 lines
702 B
Python
21 lines
702 B
Python
import json
|
|
|
|
|
|
def populate_chain_of_trust_required_but_unused_files():
|
|
# Thoses files are needed to keep chainOfTrust happy. However, they have no
|
|
# need for android-components, at the moment. For more details, see:
|
|
# https://github.com/mozilla-releng/scriptworker/pull/209/files#r184180585
|
|
|
|
for file_names in ('actions.json', 'parameters.yml'):
|
|
with open(file_names, 'w') as f:
|
|
json.dump({}, f) # Yaml is a super-set of JSON.
|
|
|
|
|
|
def populate_chain_of_trust_task_graph(full_task_graph):
|
|
# taskgraph must follow the format:
|
|
# {
|
|
# task_id: full_task_definition
|
|
# }
|
|
with open('task-graph.json', 'w') as f:
|
|
json.dump(full_task_graph, f)
|