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

Unified Diff: scripts/slave/recipe_modules/cipd/example.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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/cipd/example.py
diff --git a/scripts/slave/recipe_modules/cipd/example.py b/scripts/slave/recipe_modules/cipd/example.py
index 2a48fe878a42f4ca66561bd36aa12e9439dd8c6d..9917471a7a7d3bcaee5ab93c34edd712d10c76a6 100644
--- a/scripts/slave/recipe_modules/cipd/example.py
+++ b/scripts/slave/recipe_modules/cipd/example.py
@@ -3,6 +3,7 @@
# found in the LICENSE file.
DEPS = [
+ 'depot_tools/infra_paths',
'file',
'recipe_engine/path',
'recipe_engine/platform',
@@ -21,7 +22,7 @@ def RunSteps(api):
package_instance_id = '7f751b2237df2fdf3c1405be00590fefffbaea2d'
packages = {package_name: package_instance_id}
- cipd_root = api.path['slave_build'].join('packages')
+ cipd_root = api.infra_paths['slave_build'].join('packages')
# Some packages don't require credentials to be installed or queried.
api.cipd.ensure(cipd_root, packages)
step = api.cipd.search(package_name, tag='git_revision:40-chars-long-hash')
« no previous file with comments | « scripts/slave/recipe_modules/cipd/api.py ('k') | scripts/slave/recipe_modules/cipd/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698