Index: scripts/slave/recipes/infra/recipe_roll_tryjob.expected/basic.json |
diff --git a/scripts/slave/recipes/infra/recipe_roll_tryjob.expected/basic.json b/scripts/slave/recipes/infra/recipe_roll_tryjob.expected/basic.json |
index a879ebd0c531cd9f71d17d2fae656a1c5b4d4878..b6ce26cc6d9cac15a092002a76953465a9bd332d 100644 |
--- a/scripts/slave/recipes/infra/recipe_roll_tryjob.expected/basic.json |
+++ b/scripts/slave/recipes/infra/recipe_roll_tryjob.expected/basic.json |
@@ -4,6 +4,7 @@ |
"/opt/infra-tools/authutil", |
"token" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "Get auth token", |
"stdout": "/path/to/tmp/" |
}, |
@@ -14,8 +15,9 @@ |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"config", |
"--spec", |
- "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infra.git'}]" |
+ "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infra.git'}]" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -41,6 +43,7 @@ |
"--output-json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -68,6 +71,7 @@ |
"user.name", |
"local_bot" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -84,6 +88,7 @@ |
"user.email", |
"local_bot@example.com" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -96,6 +101,7 @@ |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"runhooks" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -112,6 +118,7 @@ |
"--headers-json", |
"{\"Authorization\": \"Bearer ya29.foobar\"}" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "Get luci-config projects" |
}, |
{ |
@@ -125,6 +132,7 @@ |
"--headers-json", |
"{\"Authorization\": \"Bearer ya29.foobar\"}" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "Get project 'recipe_engine' config 'recipes.cfg'" |
}, |
{ |
@@ -138,6 +146,7 @@ |
"--headers-json", |
"{\"Authorization\": \"Bearer ya29.foobar\"}" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "Get project 'build' config 'recipes.cfg'" |
}, |
{ |
@@ -145,9 +154,10 @@ |
"python", |
"-u", |
"\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
- "[CWD]/recipe_engine/recipe_engine", |
+ "[SLAVE_BUILD]/recipe_engine/recipe_engine", |
"511" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "makedirs recipe_engine directory", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |
@@ -168,13 +178,13 @@ |
"-u", |
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
"--spec", |
- "cache_dir = '[CWD]/__cache_dir'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'recipe_engine', 'url': 'https://repo.repo/recipe_engine'}]", |
+ "cache_dir = '[SLAVE_BUILD]/__cache_dir'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'recipe_engine', 'url': 'https://repo.repo/recipe_engine'}]", |
"--root", |
"recipe_engine", |
"--revision_mapping_file", |
"{}", |
"--git-cache-dir", |
- "[CWD]/__cache_dir", |
+ "[SLAVE_BUILD]/__cache_dir", |
"--output_json", |
"/path/to/tmp/json", |
"--revision", |
@@ -182,7 +192,7 @@ |
"--force", |
"--output_manifest" |
], |
- "cwd": "[CWD]/recipe_engine", |
+ "cwd": "[SLAVE_BUILD]/recipe_engine", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -209,9 +219,10 @@ |
"python", |
"-u", |
"\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
- "[CWD]/build/build", |
+ "[SLAVE_BUILD]/build/build", |
"511" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "makedirs build directory", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |
@@ -232,13 +243,13 @@ |
"-u", |
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
"--spec", |
- "cache_dir = '[CWD]/__cache_dir'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'build', 'url': 'https://repo.repo/build'}]", |
+ "cache_dir = '[SLAVE_BUILD]/__cache_dir'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'build', 'url': 'https://repo.repo/build'}]", |
"--root", |
"build", |
"--revision_mapping_file", |
"{}", |
"--git-cache-dir", |
- "[CWD]/__cache_dir", |
+ "[SLAVE_BUILD]/__cache_dir", |
"--output_json", |
"/path/to/tmp/json", |
"--revision", |
@@ -246,7 +257,7 @@ |
"--force", |
"--output_manifest" |
], |
- "cwd": "[CWD]/build", |
+ "cwd": "[SLAVE_BUILD]/build", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -270,24 +281,26 @@ |
}, |
{ |
"cmd": [ |
- "[CWD]/infra/ENV/bin/python", |
+ "[SLAVE_BUILD]/infra/ENV/bin/python", |
"-u", |
- "[CWD]/recipe_engine/recipe_engine/recipes.py", |
+ "[SLAVE_BUILD]/recipe_engine/recipe_engine/recipes.py", |
"--package", |
- "[CWD]/recipe_engine/recipe_engine/infra/config/recipes.cfg", |
+ "[SLAVE_BUILD]/recipe_engine/recipe_engine/infra/config/recipes.cfg", |
"simulation_test" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "recipe_engine tests" |
}, |
{ |
"cmd": [ |
- "[CWD]/infra/ENV/bin/python", |
+ "[SLAVE_BUILD]/infra/ENV/bin/python", |
"-u", |
- "[CWD]/build/build/recipes.py", |
+ "[SLAVE_BUILD]/build/build/recipes.py", |
"--package", |
- "[CWD]/build/build/infra/config/recipes.cfg", |
+ "[SLAVE_BUILD]/build/build/infra/config/recipes.cfg", |
"simulation_test" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "build tests" |
}, |
{ |