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

Unified Diff: scripts/slave/recipes/infra/build_conda_cipd_pkg.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/recipes/infra/build_conda_cipd_pkg.py
diff --git a/scripts/slave/recipes/infra/build_conda_cipd_pkg.py b/scripts/slave/recipes/infra/build_conda_cipd_pkg.py
index 8620d3092b05b6e55eccc3595b9dec2919ccc4ea..6e57aea6a974c6d139ed6c50955bda2927dbd798 100644
--- a/scripts/slave/recipes/infra/build_conda_cipd_pkg.py
+++ b/scripts/slave/recipes/infra/build_conda_cipd_pkg.py
@@ -20,6 +20,7 @@ To build a new package for all platforms:
DEPS = [
'cipd',
'conda',
+ 'depot_tools/infra_paths',
'file',
'recipe_engine/path',
'recipe_engine/platform',
@@ -42,10 +43,10 @@ EXTRA_CONDA_PACKAGES = [
def RunSteps(api):
api.cipd.install_client()
cipd_pkg_name = 'infra/conda_python/scientific/' + api.cipd.platform_suffix()
- cipd_pkg_file = api.path['slave_build'].join('conda_python.cipd')
+ cipd_pkg_file = api.infra_paths['slave_build'].join('conda_python.cipd')
# Prepare staging directory to install conda into.
- staging_dir = api.path['slave_build'].join('conda_staging_dir')
+ staging_dir = api.infra_paths['slave_build'].join('conda_staging_dir')
api.file.rmtree('cleaning staging dir', staging_dir)
# Install miniconda and all Conda packages, package in CIPD and upload.

Powered by Google App Engine
This is Rietveld 408576698