| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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.schedulers.basic import SingleBranchScheduler | 5 from buildbot.schedulers.basic import SingleBranchScheduler |
| 6 | 6 |
| 7 # These modules come from scripts/master, which must be in the PYTHONPATH. | 7 # These modules come from scripts/master, which must be in the PYTHONPATH. |
| 8 from master import master_utils | 8 from master import master_utils |
| 9 from master import slaves_list | 9 from master import slaves_list |
| 10 from master.factory import remote_run_factory | 10 from master.factory import remote_run_factory |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 builderNames=[ | 33 builderNames=[ |
| 34 'Android32 Builder', | 34 'Android32 Builder', |
| 35 'Android64 Builder', | 35 'Android64 Builder', |
| 36 'Linux Trusty', | 36 'Linux Trusty', |
| 37 'Mac 10.11', | 37 'Mac 10.11', |
| 38 'Win7', | 38 'Win7', |
| 39 ]), | 39 ]), |
| 40 ]) | 40 ]) |
| 41 | 41 |
| 42 specs = [ | 42 specs = [ |
| 43 {'name': 'Android32 Builder', 'slavebuilddir': 'android_32'}, | 43 {'name': 'Android32 Builder'}, |
| 44 {'name': 'Android64 Builder', 'slavebuilddir': 'android_64'}, | 44 {'name': 'Android64 Builder'}, |
| 45 {'name': 'Android32 Tests (M Nexus5X)'}, | 45 {'name': 'Android32 Tests (L Nexus5)'}, |
| 46 {'name': 'Android64 Tests (M Nexus9)'}, | 46 {'name': 'Android32 Tests (L Nexus7.2)'}, |
| 47 {'name': 'Android64 Tests (L Nexus9)'}, |
| 47 {'name': 'Linux Trusty'}, | 48 {'name': 'Linux Trusty'}, |
| 48 {'name': 'Mac 10.11'}, | 49 {'name': 'Mac 10.11'}, |
| 49 {'name': 'Win7'}, | 50 {'name': 'Win7'}, |
| 50 ] | 51 ] |
| 51 | 52 |
| 52 | 53 |
| 53 def m_remote_run(recipe, **kwargs): | 54 def m_remote_run(recipe, **kwargs): |
| 54 return remote_run_factory.RemoteRunFactory( | 55 return remote_run_factory.RemoteRunFactory( |
| 55 active_master=ActiveMaster, | 56 active_master=ActiveMaster, |
| 56 repository='https://chromium.googlesource.com/chromium/tools/build.git', | 57 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 lookup=lookup, | 112 lookup=lookup, |
| 112 mode='problem', | 113 mode='problem', |
| 113 relayhost=config.Master.smtp)) | 114 relayhost=config.Master.smtp)) |
| 114 | 115 |
| 115 # Do it at the end to override values set by AutoSetupMaster, the default is | 116 # Do it at the end to override values set by AutoSetupMaster, the default is |
| 116 # too low. Must keep at least a few days worth of builds. | 117 # too low. Must keep at least a few days worth of builds. |
| 117 c['buildHorizon'] = 3000 | 118 c['buildHorizon'] = 3000 |
| 118 c['logHorizon'] = 3000 | 119 c['logHorizon'] = 3000 |
| 119 # Must be at least 2x the number of slaves. | 120 # Must be at least 2x the number of slaves. |
| 120 c['eventHorizon'] = 200 | 121 c['eventHorizon'] = 200 |
| OLD | NEW |