Bug 1410513: Use try_tasks as target method on try-comm-central; r?dustin
MozReview-Commit-ID: 5nh5qAcBqQJ
--- a/taskcluster/taskgraph/decision.py
+++ b/taskcluster/taskgraph/decision.py
@@ -34,16 +34,20 @@ PER_PROJECT_PARAMETERS = {
# `--include-nightly` is specified in the commit message.
# We're setting the `include_nightly` parameter to True here for when
# we submit decision tasks against Try that use other
# `target_task_method`s, like `nightly_fennec` or `mozilla_beta_tasks`,
# which reference the `include_nightly` parameter.
'include_nightly': True,
},
+ 'try-comm-central': {
+ 'target_tasks_method': 'try_tasks',
+ },
+
'ash': {
'target_tasks_method': 'ash_tasks',
'optimize_target_tasks': True,
'include_nightly': False,
},
'cedar': {
'target_tasks_method': 'cedar_tasks',
@@ -196,17 +200,17 @@ def get_decision_parameters(options):
parameters.setdefault('release_history', dict())
if 'nightly' in parameters.get('target_tasks_method', ''):
parameters['release_history'] = populate_release_history('Firefox', project)
# if try_task_config.json is present, load it
task_config_file = os.path.join(os.getcwd(), 'try_task_config.json')
# load try settings
- if project == 'try':
+ if 'try' in project:
parameters['try_mode'] = None
if os.path.isfile(task_config_file):
parameters['try_mode'] = 'try_task_config'
with open(task_config_file, 'r') as fh:
parameters['try_task_config'] = json.load(fh)
else:
parameters['try_task_config'] = None