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

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

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge Created 4 years, 7 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
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
11 DEPS = [ 11 DEPS = [
12 'depot_tools/bot_update', 12 'depot_tools/bot_update',
13 'depot_tools/git', 13 'depot_tools/git',
14 'file', 14 'file',
15 'depot_tools/gclient', 15 'depot_tools/gclient',
16 'depot_tools/infra_paths',
16 'recipe_engine/json', 17 'recipe_engine/json',
17 'recipe_engine/path', 18 'recipe_engine/path',
18 'recipe_engine/platform', 19 'recipe_engine/platform',
19 'recipe_engine/properties', 20 'recipe_engine/properties',
20 'recipe_engine/python', 21 'recipe_engine/python',
21 'recipe_engine/raw_io', 22 'recipe_engine/raw_io',
22 'recipe_engine/step', 23 'recipe_engine/step',
23 'depot_tools/tryserver' 24 'depot_tools/tryserver'
24 ] 25 ]
25 26
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 69
69 70
70 def inner(api): 71 def inner(api):
71 """Actually performs basic tasks common to most recipes.""" 72 """Actually performs basic tasks common to most recipes."""
72 api.gclient.set_config('build') 73 api.gclient.set_config('build')
73 api.bot_update.ensure_checkout(force=True, patch_root='build') 74 api.bot_update.ensure_checkout(force=True, patch_root='build')
74 75
75 api.git.checkout( 76 api.git.checkout(
76 url='https://chromium.googlesource.com/chromium/tools/build', 77 url='https://chromium.googlesource.com/chromium/tools/build',
77 ref='master', 78 ref='master',
78 dir_path=api.path['build'].join('clone')) 79 dir_path=api.infra_paths['build'].join('clone'))
79 80
80 81
81 def GenTests(api): 82 def GenTests(api):
82 yield ( 83 yield (
83 api.test('ok-outer') + 84 api.test('ok-outer') +
84 api.properties.generic( 85 api.properties.generic(
85 mastername='chromium.infra', 86 mastername='chromium.infra',
86 buildername='build_repo_real', 87 buildername='build_repo_real',
87 ) 88 )
88 ) 89 )
(...skipping 22 matching lines...) Expand all
111 ) 112 )
112 ) 113 )
113 yield ( 114 yield (
114 api.test('ok-inner-try-rietveld') + 115 api.test('ok-inner-try-rietveld') +
115 api.properties.tryserver( 116 api.properties.tryserver(
116 mastername='tryserver.infra', 117 mastername='tryserver.infra',
117 buildername='build_repo_real', 118 buildername='build_repo_real',
118 actual_run='True', 119 actual_run='True',
119 ) 120 )
120 ) 121 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698