| Index: scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/mac.json
|
| diff --git a/scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/mac.json b/scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/mac.json
|
| index 4000682438450bdb52548f382f364aaa97de0943..87ae59dad0675367651522dc895cc68dbb9dc5dd 100644
|
| --- a/scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/mac.json
|
| +++ b/scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/mac.json
|
| @@ -7,16 +7,15 @@
|
| "--platform",
|
| "mac-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,22 +47,20 @@
|
| "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py",
|
| "https://repo.continuum.io/miniconda/Miniconda2-3.18.3-MacOSX-x86_64.sh",
|
| "--outfile",
|
| - "[TMP_BASE]/conda_tmp_1/Miniconda2-3.18.3-MacOSX-x86_64.sh",
|
| + "[TMP]/conda_tmp_1/Miniconda2-3.18.3-MacOSX-x86_64.sh",
|
| "--attempts",
|
| "5"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "fetch miniconda installer"
|
| },
|
| {
|
| "cmd": [
|
| "/bin/bash",
|
| - "[TMP_BASE]/conda_tmp_1/Miniconda2-3.18.3-MacOSX-x86_64.sh",
|
| + "[TMP]/conda_tmp_1/Miniconda2-3.18.3-MacOSX-x86_64.sh",
|
| "-b",
|
| "-p",
|
| - "[SLAVE_BUILD]/conda_staging_dir"
|
| + "[CWD]/conda_staging_dir"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PYTHONPATH": ""
|
| },
|
| @@ -75,9 +71,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@@@@",
|
| @@ -92,12 +87,11 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/conda_staging_dir/bin/conda",
|
| + "[CWD]/conda_staging_dir/bin/conda",
|
| "install",
|
| "matplotlib",
|
| "--yes"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PYTHONPATH": null
|
| },
|
| @@ -105,12 +99,11 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/conda_staging_dir/bin/conda",
|
| + "[CWD]/conda_staging_dir/bin/conda",
|
| "install",
|
| "numpy",
|
| "--yes"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PYTHONPATH": null
|
| },
|
| @@ -118,12 +111,11 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/conda_staging_dir/bin/conda",
|
| + "[CWD]/conda_staging_dir/bin/conda",
|
| "install",
|
| "scipy",
|
| "--yes"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PYTHONPATH": null
|
| },
|
| @@ -131,14 +123,13 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/conda_staging_dir/bin/conda",
|
| + "[CWD]/conda_staging_dir/bin/conda",
|
| "clean",
|
| "--tarballs",
|
| "--index-cache",
|
| "--packages",
|
| "--yes"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PYTHONPATH": null
|
| },
|
| @@ -149,27 +140,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/mac-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 mac-amd64",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -183,9 +172,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",
|
| @@ -197,7 +186,6 @@
|
| "--tag",
|
| "conda:Miniconda2-3-18-3"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "register infra/conda_python/scientific/mac-amd64",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -214,9 +202,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@@@@",
|
| @@ -231,9 +218,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@@@@",
|
|
|