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

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

Powered by Google App Engine
This is Rietveld 408576698