Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 # | 3 # |
| 4 # Use of this source code is governed by a BSD-style license | 4 # Use of this source code is governed by a BSD-style license |
| 5 # that can be found in the LICENSE file in the root of the source | 5 # that can be found in the LICENSE file in the root of the source |
| 6 # tree. An additional intellectual property rights grant can be found | 6 # tree. An additional intellectual property rights grant can be found |
| 7 # in the file PATENTS. All contributing project authors may | 7 # in the file PATENTS. All contributing project authors may |
| 8 # be found in the AUTHORS file in the root of the source tree. | 8 # be found in the AUTHORS file in the root of the source tree. |
| 9 | 9 |
| 10 import os | 10 import os |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 37 ####### CHANGESOURCES | 37 ####### CHANGESOURCES |
| 38 c['change_source'] = [] | 38 c['change_source'] = [] |
| 39 | 39 |
| 40 # Avoid merging requests. | 40 # Avoid merging requests. |
| 41 c['mergeRequests'] = lambda *_: False | 41 c['mergeRequests'] = lambda *_: False |
| 42 | 42 |
| 43 ####### BUILDERS | 43 ####### BUILDERS |
| 44 | 44 |
| 45 # Recipe based builders. | 45 # Recipe based builders. |
| 46 specs = [ | 46 specs = [ |
| 47 {'name': 'win', 'slavebuilddir': 'win'}, | 47 {'name': 'win_compile_dbg', 'slavebuilddir': 'win'}, |
| 48 {'name': 'win_compile_rel', 'slavebuilddir': 'win'}, | |
| 49 {'name': 'win_compile_x64_dbg', 'slavebuilddir': 'win'}, | |
| 50 {'name': 'win_compile_x64_rel', 'slavebuilddir': 'win'}, | |
| 51 {'name': 'win_dbg', 'slavebuilddir': 'win'}, | |
| 48 {'name': 'win_rel', 'slavebuilddir': 'win'}, | 52 {'name': 'win_rel', 'slavebuilddir': 'win'}, |
| 53 {'name': 'win_x64_dbg', 'slavebuilddir': 'win'}, | |
| 49 {'name': 'win_x64_rel', 'slavebuilddir': 'win'}, | 54 {'name': 'win_x64_rel', 'slavebuilddir': 'win'}, |
| 50 {'name': 'win_x64_gn', 'slavebuilddir': 'win_gn'}, | 55 {'name': 'win_x64_gn_dbg', 'slavebuilddir': 'win_gn'}, |
| 51 {'name': 'win_x64_gn_rel', 'slavebuilddir': 'win_gn'}, | 56 {'name': 'win_x64_gn_rel', 'slavebuilddir': 'win_gn'}, |
| 52 {'name': 'win_baremetal', 'slavebuilddir': 'win'}, | 57 {'name': 'win_baremetal', 'slavebuilddir': 'win'}, |
| 53 {'name': 'win_asan', 'slavebuilddir': 'win_asan'}, | 58 {'name': 'win_asan', 'slavebuilddir': 'win_asan'}, |
| 54 {'name': 'win_drmemory_light', 'slavebuilddir': 'win-drmemory'}, | 59 {'name': 'win_drmemory_light', 'slavebuilddir': 'win-drmemory'}, |
| 55 {'name': 'win_drmemory_full', 'slavebuilddir': 'win-drmemory'}, | 60 {'name': 'win_drmemory_full', 'slavebuilddir': 'win-drmemory'}, |
| 56 {'name': 'mac', 'slavebuilddir': 'mac32'}, | 61 {'name': 'mac_compile_dbg', 'slavebuilddir': 'mac32'}, |
| 62 {'name': 'mac_compile_rel', 'slavebuilddir': 'mac32'}, | |
| 63 {'name': 'mac_compile_x64_dbg', 'slavebuilddir': 'mac64'}, | |
| 64 {'name': 'mac_compile_x64_rel', 'slavebuilddir': 'mac64'}, | |
| 65 {'name': 'mac_dbg', 'slavebuilddir': 'mac32'}, | |
| 57 {'name': 'mac_rel', 'slavebuilddir': 'mac32'}, | 66 {'name': 'mac_rel', 'slavebuilddir': 'mac32'}, |
| 58 {'name': 'mac_x64', 'slavebuilddir': 'mac64'}, | 67 {'name': 'mac_x64_dbg', 'slavebuilddir': 'mac64'}, |
| 59 {'name': 'mac_x64_rel', 'slavebuilddir': 'mac64'}, | 68 {'name': 'mac_x64_rel', 'slavebuilddir': 'mac64'}, |
| 60 {'name': 'mac_x64_gn', 'slavebuilddir': 'mac_gn'}, | 69 {'name': 'mac_x64_gn_dbg', 'slavebuilddir': 'mac_gn'}, |
| 61 {'name': 'mac_x64_gn_rel', 'slavebuilddir': 'mac_gn'}, | 70 {'name': 'mac_x64_gn_rel', 'slavebuilddir': 'mac_gn'}, |
| 62 {'name': 'mac_baremetal', 'slavebuilddir': 'mac32'}, | 71 {'name': 'mac_baremetal', 'slavebuilddir': 'mac32'}, |
| 63 {'name': 'ios', 'slavebuilddir': 'mac32'}, | 72 {'name': 'ios_dbg', 'slavebuilddir': 'mac32'}, |
| 64 {'name': 'ios_rel', 'slavebuilddir': 'mac32'}, | 73 {'name': 'ios_rel', 'slavebuilddir': 'mac32'}, |
| 65 {'name': 'ios_arm64', 'slavebuilddir': 'mac64'}, | 74 {'name': 'ios_arm64_dbg', 'slavebuilddir': 'mac64'}, |
| 66 {'name': 'ios_arm64_rel', 'slavebuilddir': 'mac64'}, | 75 {'name': 'ios_arm64_rel', 'slavebuilddir': 'mac64'}, |
| 67 {'name': 'ios32_sim', 'slavebuilddir': 'mac32'}, | 76 {'name': 'ios32_sim_dbg', 'slavebuilddir': 'mac32'}, |
| 68 {'name': 'ios64_sim', 'slavebuilddir': 'mac64'}, | 77 {'name': 'ios64_sim_dbg', 'slavebuilddir': 'mac64'}, |
| 69 {'name': 'mac_asan', 'slavebuilddir': 'mac_asan'}, | 78 {'name': 'mac_asan', 'slavebuilddir': 'mac_asan'}, |
| 70 {'name': 'linux', 'slavebuilddir': 'linux64'}, | 79 {'name': 'linux_compile_dbg', 'slavebuilddir': 'linux64'}, |
| 80 {'name': 'linux_compile_rel', 'slavebuilddir': 'linux64'}, | |
| 81 {'name': 'linux_dbg', 'slavebuilddir': 'linux64'}, | |
| 71 {'name': 'linux_rel', 'slavebuilddir': 'linux64'}, | 82 {'name': 'linux_rel', 'slavebuilddir': 'linux64'}, |
| 72 {'name': 'linux_baremetal', 'slavebuilddir': 'linux64'}, | 83 {'name': 'linux_baremetal', 'slavebuilddir': 'linux64'}, |
| 73 {'name': 'linux_memcheck', 'slavebuilddir': 'linux_memcheck_or_tsan'}, | 84 {'name': 'linux_memcheck', 'slavebuilddir': 'linux_memcheck_or_tsan'}, |
| 74 {'name': 'linux_msan', 'slavebuilddir': 'linux_msan'}, | 85 {'name': 'linux_msan', 'slavebuilddir': 'linux_msan'}, |
| 75 {'name': 'linux_tsan2', 'slavebuilddir': 'linux_tsan2'}, | 86 {'name': 'linux_tsan2', 'slavebuilddir': 'linux_tsan2'}, |
| 76 {'name': 'linux_asan', 'slavebuilddir': 'linux_asan'}, | 87 {'name': 'linux_asan', 'slavebuilddir': 'linux_asan'}, |
| 77 {'name': 'linux_gn', 'slavebuilddir': 'linux64_gn'}, | 88 {'name': 'linux_gn_dbg', 'slavebuilddir': 'linux64_gn'}, |
| 78 {'name': 'linux_gn_rel', 'slavebuilddir': 'linux64_gn'}, | 89 {'name': 'linux_gn_rel', 'slavebuilddir': 'linux64_gn'}, |
| 79 {'name': 'android', 'slavebuilddir': 'android'}, | 90 {'name': 'android_compile_dbg', 'slavebuilddir': 'android'}, |
| 91 {'name': 'android_compile_rel', 'slavebuilddir': 'android'}, | |
| 92 {'name': 'android_compile_arm64_dbg', 'slavebuilddir': 'android_arm64'}, | |
| 93 {'name': 'android_compile_arm64_rel', 'slavebuilddir': 'android_arm64'}, | |
| 94 {'name': 'android_dbg', 'slavebuilddir': 'android'}, | |
| 80 {'name': 'android_rel', 'slavebuilddir': 'android'}, | 95 {'name': 'android_rel', 'slavebuilddir': 'android'}, |
| 81 {'name': 'android_clang', 'slavebuilddir': 'android_clang'}, | 96 {'name': 'android_clang_dbg', 'slavebuilddir': 'android_clang'}, |
| 82 {'name': 'android_arm64_rel', 'slavebuilddir': 'android_arm64'}, | 97 {'name': 'android_arm64_rel', 'slavebuilddir': 'android_arm64'}, |
| 83 {'name': 'android_s3', 'slavebuilddir': 'android'}, | 98 {'name': 'android_s3', 'slavebuilddir': 'android'}, |
| 84 {'name': 'android_s4', 'slavebuilddir': 'android'}, | 99 {'name': 'android_s4', 'slavebuilddir': 'android'}, |
| 85 {'name': 'android_s5', 'slavebuilddir': 'android'}, | 100 {'name': 'android_s5', 'slavebuilddir': 'android'}, |
| 86 {'name': 'android_gn', 'slavebuilddir': 'android_gn'}, | 101 {'name': 'android_gn_dbg', 'slavebuilddir': 'android_gn'}, |
| 87 {'name': 'android_gn_rel', 'slavebuilddir': 'android_gn'}, | 102 {'name': 'android_gn_rel', 'slavebuilddir': 'android_gn'}, |
| 88 ] | 103 ] |
| 89 | 104 |
| 90 m_annotator = annotator_factory.AnnotatorFactory() | 105 m_annotator = annotator_factory.AnnotatorFactory() |
| 91 c['builders'] = [ | 106 c['builders'] = [ |
| 92 { | 107 { |
| 93 'name': spec['name'], | 108 'name': spec['name'], |
| 94 'factory': m_annotator.BaseFactory('webrtc/standalone'), | 109 'factory': m_annotator.BaseFactory('webrtc/standalone'), |
| 95 'slavebuilddir': spec['slavebuilddir'], | 110 'slavebuilddir': spec['slavebuilddir'], |
| 96 } for spec in specs | 111 } for spec in specs |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 202 c['status'].append( | 217 c['status'].append( |
| 203 TryServerHttpStatusPush(serverUrl=ActiveMaster.code_review_site)) | 218 TryServerHttpStatusPush(serverUrl=ActiveMaster.code_review_site)) |
| 204 | 219 |
| 205 # Keep last try jobs, the default is too low. Must keep at least a few days | 220 # Keep last try jobs, the default is too low. Must keep at least a few days |
| 206 # worth of try jobs. | 221 # worth of try jobs. |
| 207 c['buildHorizon'] = 2000 | 222 c['buildHorizon'] = 2000 |
| 208 c['logHorizon'] = 2000 | 223 c['logHorizon'] = 2000 |
| 209 # Must be at least 2x the number of slaves. | 224 # Must be at least 2x the number of slaves. |
| 210 c['eventHorizon'] = 100 | 225 c['eventHorizon'] = 100 |
| 211 # Must be at least 2x the number of on-going builds. | 226 # Must be at least 2x the number of on-going builds. |
| 212 c['buildCacheSize'] = 100 | 227 c['buildCacheSize'] = 100 |
|
Michael Achenbach
2015/09/21 14:18:58
Wonder if you need to tweak these numbers at some
kjellander_chromium
2015/09/21 14:30:06
I guess we might at some point, but I haven't seen
| |
| 213 | 228 |
| 214 ####### PROJECT IDENTITY | 229 ####### PROJECT IDENTITY |
| 215 | 230 |
| 216 # The 'projectURL' string will be used to provide a link | 231 # The 'projectURL' string will be used to provide a link |
| 217 # from buildbot HTML pages to your project's home page. | 232 # from buildbot HTML pages to your project's home page. |
| 218 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 233 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| OLD | NEW |