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

Side by Side Diff: recipe_modules/infra_paths/path_config.py

Issue 2477033002: fix swarmbucket infra path (Closed)
Patch Set: update example Created 4 years, 1 month 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
« no previous file with comments | « recipe_modules/infra_paths/example.expected/paths_swarmbucket_win.json ('k') | 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 import DEPS 5 import DEPS
6 CONFIG_CTX = DEPS['path'].CONFIG_CTX 6 CONFIG_CTX = DEPS['path'].CONFIG_CTX
7 7
8 8
9 @CONFIG_CTX() 9 @CONFIG_CTX()
10 def infra_common(c): 10 def infra_common(c):
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 for path in ('git_cache', 'goma_cache', 'goma_deps_cache'): 46 for path in ('git_cache', 'goma_cache', 'goma_deps_cache'):
47 c.base_paths[path] = c.base_paths['cache'] + (path,) 47 c.base_paths[path] = c.base_paths['cache'] + (path,)
48 else: # pragma: no cover 48 else: # pragma: no cover
49 c.base_paths['cache'] = c.base_paths['root'] + ('c',) 49 c.base_paths['cache'] = c.base_paths['root'] + ('c',)
50 c.base_paths['builder_cache'] = c.base_paths['cache'] + ('b',) 50 c.base_paths['builder_cache'] = c.base_paths['cache'] + ('b',)
51 c.base_paths['git_cache'] = c.base_paths['root'] + ('cache_dir',) 51 c.base_paths['git_cache'] = c.base_paths['root'] + ('cache_dir',)
52 for path in ('goma_cache', 'goma_deps_cache'): 52 for path in ('goma_cache', 'goma_deps_cache'):
53 c.base_paths[path] = c.base_paths['cache'] + (path,) 53 c.base_paths[path] = c.base_paths['cache'] + (path,)
54 54
55 55
56 @CONFIG_CTX(includes=['infra_buildbot']) 56 @CONFIG_CTX()
57 def infra_swarmbucket(c): 57 def infra_swarmbucket(c):
58 c.base_paths['root'] = c.CURRENT_WORKING_DIR
58 c.base_paths['git_cache'] = c.base_paths['root'] + ('git_cache',) 59 c.base_paths['git_cache'] = c.base_paths['root'] + ('git_cache',)
60 c.base_paths['goma_cache'] = c.base_paths['root'] + ('goma_cache',)
OLDNEW
« no previous file with comments | « recipe_modules/infra_paths/example.expected/paths_swarmbucket_win.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698