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 | 5 |
6 # Recipe module for Skia Swarming compile. | 6 # Recipe module for Skia Swarming compile. |
7 | 7 |
8 | 8 |
9 DEPS = [ | 9 DEPS = [ |
10 'core', | 10 'core', |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 swarm_out_dir='[SWARM_OUT_DIR]', | 168 swarm_out_dir='[SWARM_OUT_DIR]', |
169 rietveld='https://codereview.chromium.org', | 169 rietveld='https://codereview.chromium.org', |
170 patchset=1, | 170 patchset=1, |
171 issue=2147533002L) + | 171 issue=2147533002L) + |
172 api.path.exists( | 172 api.path.exists( |
173 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') | 173 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') |
174 ) + | 174 ) + |
175 api.platform('win', 64) | 175 api.platform('win', 64) |
176 ) | 176 ) |
177 | 177 |
178 gerrit_kwargs = { | |
179 'patch_storage': 'gerrit', | |
180 'repository': 'skia', | |
181 'event.patchSet.ref': 'refs/changes/00/2100/2', | |
182 'event.change.number': '2100', | |
183 } | |
184 yield ( | 178 yield ( |
185 api.test('recipe_with_gerrit_patch') + | 179 api.test('recipe_with_gerrit_patch') + |
186 api.properties( | 180 api.properties( |
187 buildername=buildername + '-Trybot', | 181 buildername=buildername + '-Trybot', |
188 mastername=mastername, | 182 mastername=mastername, |
189 slavename=slavename, | 183 slavename=slavename, |
190 buildnumber=5, | 184 buildnumber=5, |
191 path_config='kitchen', | 185 path_config='kitchen', |
192 swarm_out_dir='[SWARM_OUT_DIR]', | 186 swarm_out_dir='[SWARM_OUT_DIR]', |
193 revision='abc123', | 187 revision='abc123', |
194 **gerrit_kwargs) + | 188 patch_storage='gerrit') + |
| 189 api.properties.tryserver( |
| 190 buildername=buildername + '-Trybot', |
| 191 gerrit_project='skia', |
| 192 gerrit_url='https://skia-review.googlesource.com/', |
| 193 ) + |
195 api.platform('win', 64) | 194 api.platform('win', 64) |
196 ) | 195 ) |
197 | 196 |
198 yield ( | 197 yield ( |
199 api.test('buildbotless_trybot_rietveld') + | 198 api.test('buildbotless_trybot_rietveld') + |
200 api.properties( | 199 api.properties( |
201 repository='skia', | 200 repository='skia', |
202 buildername=buildername, | 201 buildername=buildername, |
203 mastername=mastername, | 202 mastername=mastername, |
204 slavename=slavename, | 203 slavename=slavename, |
(...skipping 14 matching lines...) Expand all Loading... |
219 api.properties( | 218 api.properties( |
220 repository='skia', | 219 repository='skia', |
221 buildername=buildername, | 220 buildername=buildername, |
222 mastername=mastername, | 221 mastername=mastername, |
223 slavename=slavename, | 222 slavename=slavename, |
224 buildnumber=5, | 223 buildnumber=5, |
225 path_config='kitchen', | 224 path_config='kitchen', |
226 swarm_out_dir='[SWARM_OUT_DIR]', | 225 swarm_out_dir='[SWARM_OUT_DIR]', |
227 revision='abc123', | 226 revision='abc123', |
228 nobuildbot='True', | 227 nobuildbot='True', |
229 issue=500, | 228 patch_issue=500, |
230 patchset=1, | 229 patch_set=1, |
231 patch_storage='gerrit', | 230 patch_storage='gerrit') + |
232 gerrit='https://skia-review.googlesource.com') + | 231 api.properties.tryserver( |
| 232 buildername=buildername, |
| 233 gerrit_project='skia', |
| 234 gerrit_url='https://skia-review.googlesource.com/', |
| 235 ) + |
233 api.platform('win', 64) | 236 api.platform('win', 64) |
234 ) | 237 ) |
OLD | NEW |