Index: scripts/slave/recipes/infra/recipe_roll_tryjob.expected/tryjob.json |
diff --git a/scripts/slave/recipes/infra/recipe_roll_tryjob.expected/tryjob.json b/scripts/slave/recipes/infra/recipe_roll_tryjob.expected/tryjob.json |
index e3d0abb9e4b3d5e634f1488295a8f764da91245f..dfbdd27da77fcc969e41eae81c2b271a10b230af 100644 |
--- a/scripts/slave/recipes/infra/recipe_roll_tryjob.expected/tryjob.json |
+++ b/scripts/slave/recipes/infra/recipe_roll_tryjob.expected/tryjob.json |
@@ -4,7 +4,6 @@ |
"/opt/infra-tools/authutil", |
"token" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "Get auth token", |
"stdout": "/path/to/tmp/" |
}, |
@@ -15,9 +14,8 @@ |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"config", |
"--spec", |
- "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infra.git'}]" |
+ "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'}]" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -43,7 +41,6 @@ |
"--output-json", |
"/path/to/tmp/json" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -71,7 +68,6 @@ |
"user.name", |
"local_bot" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -88,7 +84,6 @@ |
"user.email", |
"local_bot@example.com" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -101,7 +96,6 @@ |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"runhooks" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -118,7 +112,6 @@ |
"--headers-json", |
"{\"Authorization\": \"Bearer ya29.foobar\"}" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "Get luci-config projects" |
}, |
{ |
@@ -132,7 +125,6 @@ |
"--headers-json", |
"{\"Authorization\": \"Bearer ya29.foobar\"}" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "Get project 'recipe_engine' config 'recipes.cfg'" |
}, |
{ |
@@ -146,7 +138,6 @@ |
"--headers-json", |
"{\"Authorization\": \"Bearer ya29.foobar\"}" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "Get project 'build' config 'recipes.cfg'" |
}, |
{ |
@@ -154,10 +145,9 @@ |
"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", |
- "[SLAVE_BUILD]/recipe_engine/recipe_engine", |
+ "[CWD]/recipe_engine/recipe_engine", |
"511" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "makedirs recipe_engine directory", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |
@@ -178,13 +168,13 @@ |
"-u", |
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
"--spec", |
- "cache_dir = '[SLAVE_BUILD]/__cache_dir'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'recipe_engine', 'url': 'https://repo.repo/recipe_engine'}]", |
+ "cache_dir = '[CWD]/__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", |
- "[SLAVE_BUILD]/__cache_dir", |
+ "[CWD]/__cache_dir", |
"--rietveld_server", |
"https://fake.code.review", |
"--output_json", |
@@ -194,7 +184,7 @@ |
"--force", |
"--output_manifest" |
], |
- "cwd": "[SLAVE_BUILD]/recipe_engine", |
+ "cwd": "[CWD]/recipe_engine", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -221,10 +211,9 @@ |
"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", |
- "[SLAVE_BUILD]/build/build", |
+ "[CWD]/build/build", |
"511" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "makedirs build directory", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |
@@ -245,13 +234,13 @@ |
"-u", |
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
"--spec", |
- "cache_dir = '[SLAVE_BUILD]/__cache_dir'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'build', 'url': 'https://repo.repo/build'}]", |
+ "cache_dir = '[CWD]/__cache_dir'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'build', 'url': 'https://repo.repo/build'}]", |
"--root", |
"build", |
"--revision_mapping_file", |
"{}", |
"--git-cache-dir", |
- "[SLAVE_BUILD]/__cache_dir", |
+ "[CWD]/__cache_dir", |
"--issue", |
"12345678", |
"--patchset", |
@@ -265,7 +254,7 @@ |
"--force", |
"--output_manifest" |
], |
- "cwd": "[SLAVE_BUILD]/build", |
+ "cwd": "[CWD]/build", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -289,28 +278,26 @@ |
}, |
{ |
"cmd": [ |
- "[SLAVE_BUILD]/infra/ENV/bin/python", |
+ "[CWD]/infra/ENV/bin/python", |
"-u", |
- "[SLAVE_BUILD]/recipe_engine/recipe_engine/recipes.py", |
+ "[CWD]/recipe_engine/recipe_engine/recipes.py", |
"--package", |
- "[SLAVE_BUILD]/recipe_engine/recipe_engine/infra/config/recipes.cfg", |
+ "[CWD]/recipe_engine/recipe_engine/infra/config/recipes.cfg", |
"simulation_test" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "recipe_engine tests" |
}, |
{ |
"cmd": [ |
- "[SLAVE_BUILD]/infra/ENV/bin/python", |
+ "[CWD]/infra/ENV/bin/python", |
"-u", |
- "[SLAVE_BUILD]/build/build/recipes.py", |
+ "[CWD]/build/build/recipes.py", |
"-O", |
- "recipe_engine=[SLAVE_BUILD]/recipe_engine/recipe_engine", |
+ "recipe_engine=[CWD]/recipe_engine/recipe_engine", |
"--package", |
- "[SLAVE_BUILD]/build/build/infra/config/recipes.cfg", |
+ "[CWD]/build/build/infra/config/recipes.cfg", |
"simulation_test" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "build tests" |
}, |
{ |