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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 { | 58 { |
59 'name': spec['name'], | 59 'name': spec['name'], |
60 'factory': m_annotator.BaseFactory( | 60 'factory': m_annotator.BaseFactory( |
61 spec.get('recipe', 'chromium'), | 61 spec.get('recipe', 'chromium'), |
62 factory_properties=spec.get('factory_properties'), | 62 factory_properties=spec.get('factory_properties'), |
63 triggers=spec.get('triggers')), | 63 triggers=spec.get('triggers')), |
64 'notify_on_missing': True, | 64 'notify_on_missing': True, |
65 'category': '3mac', | 65 'category': '3mac', |
66 } for spec in specs | 66 } for spec in specs |
67 ]) | 67 ]) |
| 68 |
| 69 b_mac_deterministic_build = { |
| 70 'name': 'Mac deterministic build', |
| 71 'factory': annotator_factory.AnnotatorFactory().BaseFactory( |
| 72 'deterministic_build', |
| 73 factory_properties = { |
| 74 'configuration': 'Release', |
| 75 }), |
| 76 # Auto-reboot due to fork: Resource temporarily unavailable. |
| 77 'auto_reboot': True, |
| 78 'category': '3mac', |
| 79 } |
| 80 |
| 81 c['builders'].append(b_mac_deterministic_build) |
OLD | NEW |