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 master import master_utils | 5 from master import master_utils |
| 6 from master import slaves_list | 6 from master import slaves_list |
| 7 | 7 |
| 8 import config | 8 import config |
| 9 import master_site_config | 9 import master_site_config |
| 10 | 10 |
| 11 ActiveMaster = master_site_config.ChromiumWebkit | 11 ActiveMaster = master_site_config.ChromiumWebkit |
| 12 | 12 |
| 13 c = BuildmasterConfig = {} | 13 c = BuildmasterConfig = {} |
| 14 c['change_source'] = [] | 14 c['change_source'] = [] |
| 15 c['schedulers'] = [] | 15 c['schedulers'] = [] |
| 16 c['builders'] = [] | 16 c['builders'] = [] |
| 17 c['status'] = [] | 17 c['status'] = [] |
| 18 | 18 |
| 19 | 19 |
| 20 import master_source_cfg | 20 import master_source_cfg |
| 21 import master_linux_webkit_pinned_cfg | |
| 22 import master_mac_webkit_pinned_cfg | |
| 23 import master_win_webkit_pinned_cfg | |
| 24 import master_linux_webkit_latest_cfg | 21 import master_linux_webkit_latest_cfg |
| 25 import master_android_webkit_latest_cfg | 22 import master_android_webkit_latest_cfg |
| 26 import master_mac_webkit_latest_cfg | 23 import master_mac_webkit_latest_cfg |
| 27 import master_win_webkit_latest_cfg | 24 import master_win_webkit_latest_cfg |
| 28 import master_win_latest_cfg | |
| 29 import master_chromiumos_cfg | |
| 30 import master_mac_latest_cfg | |
| 31 import master_linux_latest_cfg | |
| 32 import master_android_latest_cfg | |
|
tandrii(chromium)
2015/08/17 11:29:39
omg, this is horrible.
| |
| 33 import master_gpu_latest_cfg | |
| 34 | 25 |
| 35 master_source_cfg.Update(config, ActiveMaster, c) | 26 master_source_cfg.Update(config, ActiveMaster, c) |
| 36 master_win_webkit_pinned_cfg.Update(config, ActiveMaster, c) | |
| 37 master_mac_webkit_pinned_cfg.Update(config, ActiveMaster, c) | |
| 38 master_linux_webkit_pinned_cfg.Update(config, ActiveMaster, c) | |
| 39 master_win_webkit_latest_cfg.Update(config, ActiveMaster, c) | 27 master_win_webkit_latest_cfg.Update(config, ActiveMaster, c) |
| 40 master_mac_webkit_latest_cfg.Update(config, ActiveMaster, c) | 28 master_mac_webkit_latest_cfg.Update(config, ActiveMaster, c) |
| 41 master_linux_webkit_latest_cfg.Update(config, ActiveMaster, c) | 29 master_linux_webkit_latest_cfg.Update(config, ActiveMaster, c) |
| 42 master_android_webkit_latest_cfg.Update(config, ActiveMaster, c) | 30 master_android_webkit_latest_cfg.Update(config, ActiveMaster, c) |
| 43 master_win_latest_cfg.Update(config, ActiveMaster, c) | |
| 44 master_mac_latest_cfg.Update(config, ActiveMaster, c) | |
| 45 master_linux_latest_cfg.Update(config, ActiveMaster, c) | |
| 46 master_chromiumos_cfg.Update(config, ActiveMaster, c) | |
| 47 master_android_latest_cfg.Update(config, ActiveMaster, c) | |
| 48 master_gpu_latest_cfg.Update(config, ActiveMaster, c) | |
| 49 | 31 |
| 50 # Must be at least 2x the number of slaves. | 32 # Must be at least 2x the number of slaves. |
| 51 c['eventHorizon'] = 200 | 33 c['eventHorizon'] = 200 |
| 52 c['logCompressionLimit'] = False | 34 c['logCompressionLimit'] = False |
| 53 # Adjust the buildCaches to be 3x the number of slaves per builder. | 35 # Adjust the buildCaches to be 3x the number of slaves per builder. |
| 54 c['autoBuildCacheRatio'] = 3 | 36 c['autoBuildCacheRatio'] = 3 |
| 55 | 37 |
| 56 c['projectName'] = ActiveMaster.project_name | 38 c['projectName'] = ActiveMaster.project_name |
| 57 c['projectURL'] = config.Master.project_url | 39 c['projectURL'] = config.Master.project_url |
| 58 # Must come before AutoSetupMaster(). | 40 # Must come before AutoSetupMaster(). |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 72 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], | 54 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], |
| 73 config.Master.GetBotPassword()) | 55 config.Master.GetBotPassword()) |
| 74 master_utils.VerifySetup(c, slaves) | 56 master_utils.VerifySetup(c, slaves) |
| 75 | 57 |
| 76 # Adds common status and tools to this master. | 58 # Adds common status and tools to this master. |
| 77 master_utils.AutoSetupMaster(c, ActiveMaster, | 59 master_utils.AutoSetupMaster(c, ActiveMaster, |
| 78 public_html='../master.chromium/public_html', | 60 public_html='../master.chromium/public_html', |
| 79 templates=['../master.chromium/templates'], | 61 templates=['../master.chromium/templates'], |
| 80 order_console_by_time=True, | 62 order_console_by_time=True, |
| 81 enable_http_status_push=ActiveMaster.is_production_host) | 63 enable_http_status_push=ActiveMaster.is_production_host) |
| OLD | NEW |