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

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

Issue 2048653002: infra/recipe_autoroller_public: add infra repo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 6 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 | no next file » | 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 """Rolls recipes.cfg dependencies for public projects.""" 5 """Rolls recipes.cfg dependencies for public projects."""
6 6
7 DEPS = [ 7 DEPS = [
8 'recipe_autoroller', 8 'recipe_autoroller',
9 'luci_config', 9 'luci_config',
10 'recipe_engine/properties', 10 'recipe_engine/properties',
11 'recipe_engine/raw_io', 11 'recipe_engine/raw_io',
12 ] 12 ]
13 13
14 from recipe_engine import recipe_api 14 from recipe_engine import recipe_api
15 15
16 16
17 # Toposorted for best results. 17 # Toposorted for best results.
18 # TODO(phajdan.jr): get the list of public projects from luci-config. 18 # TODO(phajdan.jr): get the list of public projects from luci-config.
19 PROJECTS = [ 19 PROJECTS = [
20 'depot_tools', 20 'depot_tools',
21 'build', 21 'build',
22 'infra',
22 ] 23 ]
23 24
24 25
25 PROPERTIES = { 26 PROPERTIES = {
26 'projects': recipe_api.Property(default=PROJECTS), 27 'projects': recipe_api.Property(default=PROJECTS),
27 } 28 }
28 29
29 30
30 def RunSteps(api, projects): 31 def RunSteps(api, projects):
31 api.recipe_autoroller.prepare_checkout() 32 api.recipe_autoroller.prepare_checkout()
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 yield ( 75 yield (
75 api.test('failed_upload') + 76 api.test('failed_upload') +
76 api.properties(projects=['build']) + 77 api.properties(projects=['build']) +
77 api.luci_config.get_projects(['build']) + 78 api.luci_config.get_projects(['build']) +
78 api.recipe_autoroller.roll_data('build') + 79 api.recipe_autoroller.roll_data('build') +
79 api.recipe_autoroller.new_upload('build') + 80 api.recipe_autoroller.new_upload('build') +
80 api.override_step_data( 81 api.override_step_data(
81 'build.git cl issue', 82 'build.git cl issue',
82 api.raw_io.stream_output('Issue number: None (None)')) 83 api.raw_io.stream_output('Issue number: None (None)'))
83 ) 84 )
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698