Bug 1410513: Use try_tasks as target method on try-comm-central; r=dustin
authorTom Prince <mozilla@hocat.ca>
Thu, 02 Nov 2017 15:02:49 -0600
changeset 390366 713b8f8146a2f3f99cd2402c1f70df83c43f6c03
parent 390365 482202ada27cafcef70f73f31bbe47c9f45e7db9
child 390367 69c60c8fc528d8d038e22a2ae62f5ff7b1131231
push id32827
push userccoroiu@mozilla.com
push dateMon, 06 Nov 2017 23:02:00 +0000
treeherdermozilla-central@62aeebcc676e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1410513
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1410513: Use try_tasks as target method on try-comm-central; r=dustin MozReview-Commit-ID: 5nh5qAcBqQJ
taskcluster/taskgraph/decision.py
--- 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