| Index: scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/win.json
|
| diff --git a/scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/win.json b/scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/win.json
|
| index 5b39aded0afe9c24c9c5f2024027701ed4343fd9..503818b03cc4f464f237ca69c5ac3418efd82177 100644
|
| --- a/scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/win.json
|
| +++ b/scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/win.json
|
| @@ -7,16 +7,15 @@
|
| "--platform",
|
| "windows-amd64",
|
| "--dest-directory",
|
| - "[SLAVE_BUILD]\\cipd",
|
| + "[CWD]\\cipd",
|
| "--json-output",
|
| "/path/to/tmp/json"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "install cipd",
|
| "~followup_annotations": [
|
| "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]\\\\cipd\\\\cipd\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/cipd\", @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@}@@@",
|
| "@@@STEP_LOG_END@json.output@@@"
|
| @@ -27,9 +26,8 @@
|
| "python",
|
| "-u",
|
| "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
|
| - "[SLAVE_BUILD]\\conda_staging_dir"
|
| + "[CWD]\\conda_staging_dir"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "rmtree cleaning staging dir",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -49,23 +47,21 @@
|
| "RECIPE_PACKAGE_REPO[build]\\scripts\\tools\\pycurl.py",
|
| "https://repo.continuum.io/miniconda/Miniconda2-3.18.3-Windows-x86_64.exe",
|
| "--outfile",
|
| - "[TMP_BASE]\\conda_tmp_1\\Miniconda2-3.18.3-Windows-x86_64.exe",
|
| + "[TMP]\\conda_tmp_1\\Miniconda2-3.18.3-Windows-x86_64.exe",
|
| "--attempts",
|
| "5"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "fetch miniconda installer"
|
| },
|
| {
|
| "cmd": [
|
| - "[TMP_BASE]\\conda_tmp_1\\Miniconda2-3.18.3-Windows-x86_64.exe",
|
| + "[TMP]\\conda_tmp_1\\Miniconda2-3.18.3-Windows-x86_64.exe",
|
| "/InstallationType=JustMe",
|
| "/AddToPath=0",
|
| "/RegisterPython=0",
|
| "/S",
|
| - "/D=[SLAVE_BUILD]\\conda_staging_dir"
|
| + "/D=[CWD]\\conda_staging_dir"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PYTHONPATH": ""
|
| },
|
| @@ -76,9 +72,8 @@
|
| "python",
|
| "-u",
|
| "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
|
| - "[TMP_BASE]\\conda_tmp_1"
|
| + "[TMP]\\conda_tmp_1"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "rmtree remove miniconda installer",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -93,12 +88,11 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]\\conda_staging_dir\\Scripts\\conda.exe",
|
| + "[CWD]\\conda_staging_dir\\Scripts\\conda.exe",
|
| "install",
|
| "matplotlib",
|
| "--yes"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PYTHONPATH": null
|
| },
|
| @@ -106,12 +100,11 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]\\conda_staging_dir\\Scripts\\conda.exe",
|
| + "[CWD]\\conda_staging_dir\\Scripts\\conda.exe",
|
| "install",
|
| "numpy",
|
| "--yes"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PYTHONPATH": null
|
| },
|
| @@ -119,12 +112,11 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]\\conda_staging_dir\\Scripts\\conda.exe",
|
| + "[CWD]\\conda_staging_dir\\Scripts\\conda.exe",
|
| "install",
|
| "scipy",
|
| "--yes"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PYTHONPATH": null
|
| },
|
| @@ -132,14 +124,13 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]\\conda_staging_dir\\Scripts\\conda.exe",
|
| + "[CWD]\\conda_staging_dir\\Scripts\\conda.exe",
|
| "clean",
|
| "--tarballs",
|
| "--index-cache",
|
| "--packages",
|
| "--yes"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PYTHONPATH": null
|
| },
|
| @@ -150,27 +141,25 @@
|
| "python",
|
| "-u",
|
| "RECIPE_MODULE[build::conda]\\resources\\butcher_conda.py",
|
| - "[SLAVE_BUILD]\\conda_staging_dir"
|
| + "[CWD]\\conda_staging_dir"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "make conda env location independent"
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]\\cipd\\cipd",
|
| + "fake_slave_build/cipd",
|
| "pkg-build",
|
| "--in",
|
| - "[SLAVE_BUILD]\\conda_staging_dir",
|
| + "[CWD]\\conda_staging_dir",
|
| "--name",
|
| "infra/conda_python/scientific/windows-amd64",
|
| "--out",
|
| - "[SLAVE_BUILD]\\conda_python.cipd",
|
| + "[CWD]\\conda_python.cipd",
|
| "--json-output",
|
| "/path/to/tmp/json",
|
| "--install-mode",
|
| "copy"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "build windows-amd64",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -184,9 +173,9 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]\\cipd\\cipd",
|
| + "fake_slave_build/cipd",
|
| "pkg-register",
|
| - "[SLAVE_BUILD]\\conda_python.cipd",
|
| + "[CWD]\\conda_python.cipd",
|
| "--json-output",
|
| "/path/to/tmp/json",
|
| "--service-account-json",
|
| @@ -198,7 +187,6 @@
|
| "--tag",
|
| "conda:Miniconda2-3-18-3"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "register infra/conda_python/scientific/windows-amd64",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -215,9 +203,8 @@
|
| "python",
|
| "-u",
|
| "\nimport os\nimport sys\nos.remove(sys.argv[1])\n",
|
| - "[SLAVE_BUILD]\\conda_python.cipd"
|
| + "[CWD]\\conda_python.cipd"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "remove *.cipd file",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -232,9 +219,8 @@
|
| "python",
|
| "-u",
|
| "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
|
| - "[SLAVE_BUILD]\\conda_staging_dir"
|
| + "[CWD]\\conda_staging_dir"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "rmtree removing conda",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
|
|