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

Side by Side Diff: scripts/slave/recipes/infra/master_manager_config.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, 8 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 DEPS = [ 5 DEPS = [
6 'depot_tools/bot_update', 6 'depot_tools/bot_update',
7 'file', 7 'file',
8 'depot_tools/gclient', 8 'depot_tools/gclient',
9 'depot_tools/infra_paths',
9 'recipe_engine/json', 10 'recipe_engine/json',
10 'recipe_engine/path', 11 'recipe_engine/path',
11 'recipe_engine/platform', 12 'recipe_engine/platform',
12 'recipe_engine/properties', 13 'recipe_engine/properties',
13 'recipe_engine/python', 14 'recipe_engine/python',
14 'recipe_engine/step', 15 'recipe_engine/step',
15 ] 16 ]
16 17
17 18
18 def RunSteps(api): 19 def RunSteps(api):
19 api.gclient.set_config('infradata_master_manager') 20 api.gclient.set_config('infradata_master_manager')
20 api.bot_update.ensure_checkout( 21 api.bot_update.ensure_checkout(
21 force=True, patch_root='infra-data-master-manager', patch_oauth2=True) 22 force=True, patch_root='infra-data-master-manager', patch_oauth2=True)
22 api.gclient.runhooks() 23 api.gclient.runhooks()
23 24
24 api.python('master manager configuration test', 25 api.python('master manager configuration test',
25 api.path['slave_build'].join('infra', 'run.py'), 26 api.infra_paths['slave_build'].join('infra', 'run.py'),
26 ['infra.services.master_manager_launcher', 27 ['infra.services.master_manager_launcher',
27 '--verify', 28 '--verify',
28 '--ts-mon-endpoint=none', 29 '--ts-mon-endpoint=none',
29 '--json-file', 30 '--json-file',
30 api.path['slave_build'].join( 31 api.infra_paths['slave_build'].join(
31 'infra-data-master-manager', 32 'infra-data-master-manager',
32 'desired_master_state.json')]) 33 'desired_master_state.json')])
33 34
34 35
35 def GenTests(api): 36 def GenTests(api):
36 yield ( 37 yield (
37 api.test('master_manager_config') + 38 api.test('master_manager_config') +
38 api.properties.git_scheduled( 39 api.properties.git_scheduled(
39 buildername='infradata_config', 40 buildername='infradata_config',
40 buildnumber=123, 41 buildnumber=123,
41 mastername='internal.infra', 42 mastername='internal.infra',
42 repository='https://chrome-internal.googlesource.com/infradata')) 43 repository='https://chrome-internal.googlesource.com/infradata'))
43 yield ( 44 yield (
44 api.test('master_manager_config_patch') + 45 api.test('master_manager_config_patch') +
45 api.properties.git_scheduled( 46 api.properties.git_scheduled(
46 buildername='infradata_config', 47 buildername='infradata_config',
47 buildnumber=123, 48 buildnumber=123,
48 mastername='internal.infra.try', 49 mastername='internal.infra.try',
49 patch_project='infra-data-configs', 50 patch_project='infra-data-configs',
50 repository='https://chrome-internal.googlesource.com/infradata')) 51 repository='https://chrome-internal.googlesource.com/infradata'))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698