OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
3 | 3 |
4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
7 | 7 |
8 from buildbot.scheduler import Scheduler | 8 from buildbot.scheduler import Scheduler |
9 from buildbot.schedulers import timed | 9 from buildbot.schedulers import timed |
10 from buildbot.status import mail | 10 from buildbot.status import mail |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 # ---------------------------------------------------------------------------- | 67 # ---------------------------------------------------------------------------- |
68 # BUILDER DEFINITIONS | 68 # BUILDER DEFINITIONS |
69 | 69 |
70 def RecipeBasedFactory(config): | 70 def RecipeBasedFactory(config): |
71 return annotator_factory.AnnotatorFactory().BaseFactory( | 71 return annotator_factory.AnnotatorFactory().BaseFactory( |
72 'swarming/canary', factory_properties={'configuration': config}) | 72 'swarming/canary', factory_properties={'configuration': config}) |
73 | 73 |
74 def DeterministicBuilderFactory(platform): | 74 def DeterministicBuilderFactory(platform): |
75 return { | 75 return { |
76 'name': '%s deterministic build' % platform, | 76 'name': '%s deterministic build' % platform, |
| 77 # Work around an issue with NaCl build. |
| 78 'slavebuilddir': 'chr', |
77 'factory': annotator_factory.AnnotatorFactory().BaseFactory( | 79 'factory': annotator_factory.AnnotatorFactory().BaseFactory( |
78 'swarming/deterministic_build', | 80 'swarming/deterministic_build', |
79 factory_properties = { | 81 factory_properties = { |
80 'configuration': 'Release', | 82 'configuration': 'Release', |
81 }), | 83 }), |
82 'auto_reboot': False, | 84 'auto_reboot': False, |
83 'category': 'deterministic', | 85 'category': 'deterministic', |
84 } | 86 } |
85 | 87 |
86 b_heartbeat = { | 88 b_heartbeat = { |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 # sendToInterestedUsers=False, | 222 # sendToInterestedUsers=False, |
221 # extraRecipients=[ | 223 # extraRecipients=[ |
222 # 'chrome-troopers+swarming@google.com', | 224 # 'chrome-troopers+swarming@google.com', |
223 # ])) | 225 # ])) |
224 | 226 |
225 | 227 |
226 ####### PROJECT IDENTITY | 228 ####### PROJECT IDENTITY |
227 | 229 |
228 c['projectName'] = ActiveMaster.project_name | 230 c['projectName'] = ActiveMaster.project_name |
229 c['projectURL'] = config.Master.project_url | 231 c['projectURL'] = config.Master.project_url |
OLD | NEW |