Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from buildbot.scheduler import Triggerable | 5 from buildbot.scheduler import Triggerable |
| 6 from buildbot.schedulers.basic import SingleBranchScheduler | 6 from buildbot.schedulers.basic import SingleBranchScheduler |
| 7 | 7 |
| 8 from master.factory import annotator_factory | 8 from master.factory import annotator_factory |
| 9 | 9 |
| 10 m_annotator = annotator_factory.AnnotatorFactory() | 10 m_annotator = annotator_factory.AnnotatorFactory() |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 68 'name': spec['name'], | 68 'name': spec['name'], |
| 69 'factory': m_annotator.BaseFactory( | 69 'factory': m_annotator.BaseFactory( |
| 70 spec.get('recipe', 'chromium'), | 70 spec.get('recipe', 'chromium'), |
| 71 factory_properties=spec.get('factory_properties'), | 71 factory_properties=spec.get('factory_properties'), |
| 72 triggers=spec.get('triggers'), | 72 triggers=spec.get('triggers'), |
| 73 timeout=spec.get('timeout', 2400)), | 73 timeout=spec.get('timeout', 2400)), |
| 74 'notify_on_missing': True, | 74 'notify_on_missing': True, |
| 75 'category': '2windows', | 75 'category': '2windows', |
| 76 } for spec in specs | 76 } for spec in specs |
| 77 ]) | 77 ]) |
| 78 | |
| 79 b_win_deterministic_build = { | |
| 80 'name': 'Windows deterministic build', | |
| 81 # Work around an issue with NaCl build. | |
| 82 'slavebuilddir': 'chr', | |
| 83 'factory': annotator_factory.AnnotatorFactory().BaseFactory( | |
| 84 'swarming/deterministic_build', | |
| 85 factory_properties = { | |
| 86 'configuration': 'Release', | |
| 87 }), | |
| 88 # Auto-reboot to try to clear up TEMP fill up issues. | |
| 89 'auto_reboot': True, | |
| 90 'category': '2windows', | |
| 91 } | |
| 92 | |
| 93 c['builders'].extend([b_win_deterministic_build]) | |
|
M-A Ruel
2015/06/04 20:56:08
c['builders'].append(b_win_deterministic_build)
Sébastien Marchand
2015/06/04 21:16:29
Done.
| |
| OLD | NEW |