Bug 1344039 - Don't schedule symbol uploading on try jobs. draft
authorChris Manchester <cmanchester@mozilla.com>
Fri, 03 Mar 2017 14:23:15 -0800
changeset 493430 b0a7dd8a529ef9a3c96e617c8b920dd1dfe36ed8
parent 493227 77d5a39a4677ed8e32a7ed46561c962d807fa7b1
child 547856 f7397f38490664d5e0aac58e157ca9b84af4a807
push id47756
push usercmanchester@mozilla.com
push dateFri, 03 Mar 2017 22:35:45 +0000
bugs1344039
milestone54.0a1
Bug 1344039 - Don't schedule symbol uploading on try jobs. MozReview-Commit-ID: 7ttX5CjEhqo
taskcluster/taskgraph/transforms/upload_symbols.py
--- a/taskcluster/taskgraph/transforms/upload_symbols.py
+++ b/taskcluster/taskgraph/transforms/upload_symbols.py
@@ -13,16 +13,18 @@ from taskgraph.transforms.base import Tr
 
 
 transforms = TransformSequence()
 
 
 @transforms.add
 def fill_template(config, tasks):
     for task in tasks:
+        if task['run-on-projects'] == ['try']:
+            continue
         # Fill out the dynamic fields in the task description
         task['label'] = task['build-label'] + '-upload-symbols'
         task['dependencies'] = {'build': task['build-label']}
         task['worker']['env']['GECKO_HEAD_REPOSITORY'] = config.params['head_repository']
         task['worker']['env']['GECKO_HEAD_REV'] = config.params['head_rev']
 
         build_platform, build_type = task['build-platform'].split('/')
         attributes = task.setdefault('attributes', {})