Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 """A continious builder for build repo which simulates recipes.""" | |
| 5 | |
| 6 DEPS = [ | |
| 7 'bot_update', | |
| 8 'gclient', | |
| 9 'recipe_engine/path', | |
| 10 'recipe_engine/properties', | |
| 11 'recipe_engine/step', | |
| 12 ] | |
| 13 | |
| 14 | |
| 15 def RunSteps(api): | |
| 16 api.gclient.set_config('build') | |
|
Michael Achenbach
2016/01/11 14:56:25
Suggestion: You could also force bot_update to use
tandrii(chromium)
2016/01/11 15:21:35
I have no idea how to do thaat, but I like this id
| |
| 17 step = api.bot_update.ensure_checkout(force=True, patch_root='build') | |
| 18 recipes_py = api.path['checkout'].join('scripts', 'slave', 'recipes.py') | |
| 19 api.step('recipe fetch deps', [recipes_py, 'fetch']) | |
|
tandrii(chromium)
2016/01/11 14:46:42
technically, step below fetches automatically, but
| |
| 20 api.step('recipe simulation test', [recipes_py, 'simulation_test']) | |
| 21 | |
| 22 | |
| 23 def GenTests(api): | |
| 24 yield ( | |
| 25 api.test('normal') + | |
| 26 api.properties.generic( | |
| 27 mastername='chromium.tools.build', | |
| 28 buildername='recipe simulation tester', | |
| 29 revision_tag='deadbeaf', | |
|
Michael Achenbach
2016/01/11 14:54:59
Should this not just be revision?
tandrii(chromium)
2016/01/11 15:21:35
oops, copy-pasta. I don't think I even need it.
| |
| 30 ) | |
| 31 ) | |
| OLD | NEW |