| Index: scripts/slave/recipes/infra/recipe_roll_tryjob.expected/deps.json
|
| diff --git a/scripts/slave/recipes/infra/recipe_roll_tryjob.expected/deps.json b/scripts/slave/recipes/infra/recipe_roll_tryjob.expected/deps.json
|
| index 5f709e880f8d0a3efe6c6648821e7c693e555b6b..5bcb837fcc4a2a9c6b00f026f1ac26e0a90b0c5c 100644
|
| --- a/scripts/slave/recipes/infra/recipe_roll_tryjob.expected/deps.json
|
| +++ b/scripts/slave/recipes/infra/recipe_roll_tryjob.expected/deps.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",
|
| "--output_json",
|
| "/path/to/tmp/json",
|
| "--revision",
|
| @@ -192,7 +182,7 @@
|
| "--force",
|
| "--output_manifest"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/recipe_engine",
|
| + "cwd": "[CWD]/recipe_engine",
|
| "env": {
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| @@ -219,10 +209,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@@@@",
|
| @@ -243,13 +232,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",
|
| "--output_json",
|
| "/path/to/tmp/json",
|
| "--revision",
|
| @@ -257,7 +246,7 @@
|
| "--force",
|
| "--output_manifest"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/build",
|
| + "cwd": "[CWD]/build",
|
| "env": {
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| @@ -281,28 +270,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"
|
| },
|
| {
|
|
|