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

Side by Side Diff: scripts/slave/recipes/infra/build_repo_real_try.py

Issue 1688783002: Better view for build_repo_real_try recipe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | scripts/slave/recipes/infra/build_repo_real_try.expected/ok-outer.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 """A recipe for actually running recipe on build/ repo patches as tryjobs. 5 """A recipe for actually running recipe on build/ repo patches as tryjobs.
6 6
7 The idea is to actually execute some common recipe things so as to prevent 7 The idea is to actually execute some common recipe things so as to prevent
8 major outages. 8 major outages.
9 """ 9 """
10 10
(...skipping 25 matching lines...) Expand all
36 properties['actual_run'] = 'True' 36 properties['actual_run'] = 'True'
37 return api.python( 37 return api.python(
38 name=name, 38 name=name,
39 script=api.path['checkout'].join('scripts', 'tools', 'run_recipe.py'), 39 script=api.path['checkout'].join('scripts', 'tools', 'run_recipe.py'),
40 args=[ 40 args=[
41 'infra/build_repo_real_try', 41 'infra/build_repo_real_try',
42 '--master-overrides-slave', 42 '--master-overrides-slave',
43 '--properties-file', 43 '--properties-file',
44 api.json.input(properties), 44 api.json.input(properties),
45 ], 45 ],
46 allow_subannotations=True,
46 ) 47 )
47 48
48 49
49 def outer(api): 50 def outer(api):
50 """Check out itself, maybe apply patch, and then execute_inner real itself.""" 51 """Check out itself, maybe apply patch, and then execute_inner real itself."""
51 api.gclient.set_config('build') 52 api.gclient.set_config('build')
52 api.bot_update.ensure_checkout(force=True, patch_root='build') 53 api.bot_update.ensure_checkout(force=True, patch_root='build')
53 54
54 execute_inner(api, 'ci actual execute_inner') 55 execute_inner(api, 'ci actual execute_inner')
55 56
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ) 96 )
96 ) 97 )
97 yield ( 98 yield (
98 api.test('ok-inner-try-rietveld') + 99 api.test('ok-inner-try-rietveld') +
99 api.properties.tryserver( 100 api.properties.tryserver(
100 mastername='tryserver.infra', 101 mastername='tryserver.infra',
101 buildername='build_repo_real', 102 buildername='build_repo_real',
102 actual_run='True', 103 actual_run='True',
103 ) 104 )
104 ) 105 )
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/infra/build_repo_real_try.expected/ok-outer.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698