Bug 1681607 - Set taskgraph parameters for Jamun. r=justdave

Differential Revision: https://phabricator.services.mozilla.com/D110465
This commit is contained in:
Rob Lemley 2021-03-31 20:19:03 +00:00
Родитель fb23ea5013
Коммит 78b58d5a32
1 изменённых файлов: 11 добавлений и 0 удалений

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

@ -21,6 +21,14 @@ COMM_SCRIPTS = os.path.join(COMM, "taskcluster", "scripts")
BALROG_PRODUCT = "Thunderbird"
PER_PROJECT_PARAMETERS = {
"jamun": {
"target_tasks_method": "nightly_desktop",
"release_type": "nightly",
},
}
def register(graph_config):
"""
Import all modules that are siblings of this one, triggering decorators in
@ -51,6 +59,9 @@ def get_decision_parameters(graph_config, parameters):
# An empty release_history is fine, it just means no partials will be built
project = parameters["project"]
if project in PER_PROJECT_PARAMETERS:
parameters.update(PER_PROJECT_PARAMETERS[project])
parameters.setdefault("release_history", dict())
if "nightly" in parameters.get("target_tasks_method", ""):
parameters["release_history"] = populate_release_history(