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

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

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

Powered by Google App Engine
This is Rietveld 408576698