Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Side by Side Diff: masters/master.tryserver.chromium.win/master.cfg

Issue 2154213004: Revert of tryserver.chromium.win: convert chromium_trybot builders to remote_run (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # ex: set syntax=python: 2 # ex: set syntax=python:
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # READ THIS: 7 # READ THIS:
8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure
9 9
10 import os 10 import os
11 import socket 11 import socket
12 12
13 from buildbot.scheduler import Triggerable 13 from buildbot.scheduler import Triggerable
14 14
15 # These modules come from scripts, which must be in the PYTHONPATH. 15 # These modules come from scripts, which must be in the PYTHONPATH.
16 from master import master_utils 16 from master import master_utils
17 from master import slaves_list 17 from master import slaves_list
18 from master.builders_pools import BuildersPools 18 from master.builders_pools import BuildersPools
19 from master.factory import annotator_factory 19 from master.factory import annotator_factory
20 from master.factory import remote_run_factory
21 from master.try_job_http import TryJobHTTP 20 from master.try_job_http import TryJobHTTP
22 from master.try_job_svn import TryJobSubversion 21 from master.try_job_svn import TryJobSubversion
23 22
24 import config 23 import config
25 import master_site_config 24 import master_site_config
26 25
27 ActiveMaster = master_site_config.TryServerChromiumWin 26 ActiveMaster = master_site_config.TryServerChromiumWin
28 27
29 28
30 MAIL_NOTIFIER = ActiveMaster.is_production_host 29 MAIL_NOTIFIER = ActiveMaster.is_production_host
(...skipping 22 matching lines...) Expand all
53 52
54 chromium_builders = [] 53 chromium_builders = []
55 54
56 def baseFactory(recipe, factory_properties=None, **kwargs): 55 def baseFactory(recipe, factory_properties=None, **kwargs):
57 fp = factory_properties or {} 56 fp = factory_properties or {}
58 fp.update({ 57 fp.update({
59 '$recipe_engine': {'mode_flags': {'use_subprocess42': True}} 58 '$recipe_engine': {'mode_flags': {'use_subprocess42': True}}
60 }) 59 })
61 return m_annotator.BaseFactory(recipe, factory_properties=fp, **kwargs) 60 return m_annotator.BaseFactory(recipe, factory_properties=fp, **kwargs)
62 61
63
64 def m_remote_run(recipe, **kwargs):
65 return remote_run_factory.RemoteRunFactory(
66 active_master=ActiveMaster,
67 repository='https://chromium.googlesource.com/chromium/tools/build.git',
68 recipe=recipe,
69 factory_properties={'path_config': 'kitchen'},
70 **kwargs)
71
72
73 for targ in ('_rel', '_dbg'): 62 for targ in ('_rel', '_dbg'):
74 chromium_builders.extend([{ 63 chromium_builders.extend([{
75 'name': 'win_chromium%s_ng' % targ, 64 'name': 'win_chromium%s_ng' % targ,
76 'factory': m_remote_run( 65 'factory': baseFactory(
77 'chromium_trybot', timeout=3600, max_time=master_utils.CQ_MAX_TIME_WIN), 66 'chromium_trybot', timeout=3600, max_time=master_utils.CQ_MAX_TIME_WIN),
78 'slavebuilddir': 'remote_run' 67 # Share build directory with compatible existing builders to save space.
68 'slavebuilddir': 'win'
79 }, { 69 }, {
80 'name': 'win_chromium_compile%s_ng' % targ, 70 'name': 'win_chromium_compile%s_ng' % targ,
81 'factory': m_remote_run( 71 'factory': baseFactory(
82 'chromium_trybot', timeout=3600, max_time=master_utils.CQ_MAX_TIME_WIN), 72 'chromium_trybot', timeout=3600, max_time=master_utils.CQ_MAX_TIME_WIN),
83 'slavebuilddir': 'remote_run' 73 # Share build directory with compatible existing builders to save space.
74 'slavebuilddir': 'win'
84 }]) 75 }])
85 76
86 chromium_builders.append({ 77 chromium_builders.append({
87 'name': 'win10_chromium_x64_rel_ng', 78 'name': 'win10_chromium_x64_rel_ng',
88 'factory': m_remote_run('chromium_trybot', timeout=3600), 79 'factory': baseFactory('chromium_trybot', timeout=3600),
89 'slavebuilddir': 'remote_run', 80 # Share build directory with compatible existing builders to save space.
81 'slavebuilddir': 'win',
90 }) 82 })
91 83
92 chromium_builders.append({ 84 chromium_builders.append({
93 'name': 'win10_chromium_x64_rel_ng_exp', 85 'name': 'win10_chromium_x64_rel_ng_exp',
94 'factory': m_remote_run('chromium_trybot', timeout=3600), 86 'factory': baseFactory('chromium_trybot', timeout=3600),
95 'slavebuilddir': 'remote_run', 87 # Share build directory with compatible existing builders to save space.
88 'slavebuilddir': 'win',
96 }) 89 })
97 90
98 chromium_builders.append({ 91 chromium_builders.append({
99 'name': 'win_archive', 92 'name': 'win_archive',
100 'factory': m_remote_run('chromium_trybot', timeout=3600), 93 'factory': baseFactory('chromium_trybot', timeout=3600),
101 'slavebuilddir': 'remote_run',
102 }) 94 })
103 95
104 chromium_builders.append({ 96 chromium_builders.append({
105 'name': 'win_x64_archive', 97 'name': 'win_x64_archive',
106 'factory': m_remote_run('chromium_trybot', timeout=3600), 98 'factory': baseFactory('chromium_trybot', timeout=3600),
107 'slavebuilddir': 'remote_run',
108 }) 99 })
109 100
110 chromium_builders.append({ 101 chromium_builders.append({
111 'name': 'win_chromium_x64_rel_ng', 102 'name': 'win_chromium_x64_rel_ng',
112 'factory': m_remote_run( 103 'factory': baseFactory(
113 'chromium_trybot', timeout=3600, max_time=master_utils.CQ_MAX_TIME_WIN), 104 'chromium_trybot', timeout=3600, max_time=master_utils.CQ_MAX_TIME_WIN),
114 'slavebuilddir': 'remote_run' 105 # Share build directory with compatible existing builders to save space.
106 'slavebuilddir': 'win'
115 }) 107 })
116 108
117 chromium_builders.extend([{ 109 chromium_builders.extend([{
118 'name': 'win8_chromium_gyp_rel', 110 'name': 'win8_chromium_gyp_rel',
119 'factory': m_remote_run('chromium_trybot'), 111 'factory': baseFactory('chromium_trybot'),
120 'slavebuilddir': 'remote_run', 112 'slavebuilddir': 'win_gyp',
121 },{ 113 },{
122 'name': 'win8_chromium_gyp_dbg', 114 'name': 'win8_chromium_gyp_dbg',
123 'factory': m_remote_run('chromium_trybot'), 115 'factory': baseFactory('chromium_trybot'),
124 'slavebuilddir': 'remote_run', 116 'slavebuilddir': 'win_gyp',
125 },{ 117 },{
126 'name': 'win8_chromium_gn_upload', 118 'name': 'win8_chromium_gn_upload',
127 'factory': baseFactory('chromium_gn_upload'), 119 'factory': baseFactory('chromium_gn_upload'),
128 'slavebuilddir': 'win_gn', 120 'slavebuilddir': 'win_gn',
129 }, 121 },
130 ]) 122 ])
131 123
132 chromium_builders.append({ 124 chromium_builders.append({
133 'name': 'win_upload_clang', 125 'name': 'win_upload_clang',
134 'factory': baseFactory('chromium_upload_clang'), 126 'factory': baseFactory('chromium_upload_clang'),
135 'slavebuilddir': 'win_upload_clang', 127 'slavebuilddir': 'win_upload_clang',
136 }) 128 })
137 129
138 chromium_builders.append({ 130 chromium_builders.append({
139 'name': 'win_pgo', 131 'name': 'win_pgo',
140 'factory': baseFactory('chromium_pgo', timeout=24000), 132 'factory': baseFactory('chromium_pgo', timeout=24000),
141 'slavebuilddir': 'win', 133 'slavebuilddir': 'win',
142 }) 134 })
143 135
144 chromium_builders.append({ 136 chromium_builders.append({
145 'name': 'win_chrome_official', 137 'name': 'win_chrome_official',
146 'factory': m_remote_run('chromium_trybot', timeout=4800), 138 'factory': baseFactory('chromium', timeout=4800),
147 'slavebuilddir': 'remote_run', 139 'slavebuilddir': 'win_chrome',
148 }) 140 })
149 141
150 chromium_builders.append({ 142 chromium_builders.append({
151 'name': 'win_chromium_syzyasan_rel', 143 'name': 'win_chromium_syzyasan_rel',
152 'factory': m_remote_run('chromium_trybot'), 144 'factory': baseFactory('chromium_trybot'),
153 'slavebuilddir': 'remote_run', 145 'slavebuilddir': 'win',
154 }) 146 })
155 147
156 # Experimental clang/win bots 148 # Experimental clang/win bots
157 chromium_builders.append({ 149 chromium_builders.append({
158 'name': 'win_clang', 150 'name': 'win_clang',
159 'factory': m_remote_run('chromium_trybot'), 151 'factory': baseFactory('chromium_trybot'),
160 'slavebuilddir': 'remote_run', 152 'slavebuilddir': 'win_clang',
161 }) 153 })
162 chromium_builders.append({ 154 chromium_builders.append({
163 'name': 'win_clang_dbg', 155 'name': 'win_clang_dbg',
164 'factory': m_remote_run('chromium_trybot'), 156 'factory': baseFactory('chromium_trybot'),
165 'slavebuilddir': 'remote_run', 157 'slavebuilddir': 'win_clang',
166 }) 158 })
167 chromium_builders.append({ 159 chromium_builders.append({
168 'name': 'win_clang_rel', 160 'name': 'win_clang_rel',
169 'factory': m_remote_run('chromium_trybot'), 161 'factory': baseFactory('chromium_trybot'),
170 'slavebuilddir': 'remote_run', 162 'slavebuilddir': 'win_clang',
171 }) 163 })
172 chromium_builders.append({ 164 chromium_builders.append({
173 'name': 'win_clang_x64_dbg', 165 'name': 'win_clang_x64_dbg',
174 'factory': m_remote_run('chromium_trybot'), 166 'factory': baseFactory('chromium_trybot'),
175 'slavebuilddir': 'remote_run', 167 'slavebuilddir': 'win_clang',
176 }) 168 })
177 chromium_builders.append({ 169 chromium_builders.append({
178 'name': 'win_clang_x64_rel', 170 'name': 'win_clang_x64_rel',
179 'factory': m_remote_run('chromium_trybot'), 171 'factory': baseFactory('chromium_trybot'),
180 'slavebuilddir': 'remote_run', 172 'slavebuilddir': 'win_clang',
181 }) 173 })
182 174
183 # Optional GPU tryserver. 175 # Optional GPU tryserver.
184 chromium_builders.append({ 176 chromium_builders.append({
185 'name': 'win_optional_gpu_tests_rel', 177 'name': 'win_optional_gpu_tests_rel',
186 'factory': m_remote_run('chromium_trybot', timeout=3600), 178 'factory': baseFactory('chromium_trybot', timeout=3600),
187 'slavebuilddir': 'remote_run' 179 # Share build directory with compatible existing builders to save space.
180 'slavebuilddir': 'win'
188 }) 181 })
189 182
190 # NaCl SDK try bots 183 # NaCl SDK try bots
191 b_win_nacl_sdk = { 184 b_win_nacl_sdk = {
192 'name': 'win_nacl_sdk', 185 'name': 'win_nacl_sdk',
193 'factory': baseFactory('nacl/sdk'), 186 'factory': baseFactory('nacl/sdk'),
194 } 187 }
195 188
196 # NaCl SDK build-only try bots 189 # NaCl SDK build-only try bots
197 b_win_nacl_sdk_build = { 190 b_win_nacl_sdk_build = {
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 # base.make_stop_form = hack_stop(base.make_stop_form) 382 # base.make_stop_form = hack_stop(base.make_stop_form)
390 383
391 384
392 ####### PROJECT IDENTITY 385 ####### PROJECT IDENTITY
393 386
394 # The 'projectURL' string will be used to provide a link 387 # The 'projectURL' string will be used to provide a link
395 # from buildbot HTML pages to your project's home page. 388 # from buildbot HTML pages to your project's home page.
396 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' 389 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage'
397 390
398 # vi: set ts=4 sts=2 sw=2 et: 391 # vi: set ts=4 sts=2 sw=2 et:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698