Roll recipe_engine to 2f86f02a302172514bf282684e0a4aa18b683e41

TBR=phajdan.jr

BUG=606708

Review URL: https://codereview.chromium.org/1921893003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300206 0039d316-1c4b-4281-b951-d872f2087c98
parent d34c9060
...@@ -5,5 +5,5 @@ deps { ...@@ -5,5 +5,5 @@ deps {
project_id: "recipe_engine" project_id: "recipe_engine"
url: "https://chromium.googlesource.com/external/github.com/luci/recipes-py.git" url: "https://chromium.googlesource.com/external/github.com/luci/recipes-py.git"
branch: "master" branch: "master"
revision: "f712a9271eb999e8b43c48ea9404f4bef393e486" revision: "2f86f02a302172514bf282684e0a4aa18b683e41"
} }
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
"--revision", "--revision",
"src@abc" "src@abc"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"src@HEAD", "src@HEAD",
"--output_manifest" "--output_manifest"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"src@HEAD", "src@HEAD",
"--with_branch_heads" "--with_branch_heads"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"src@HEAD", "src@HEAD",
"--clobber" "--clobber"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"src@HEAD", "src@HEAD",
"--force" "--force"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"src@HEAD", "src@HEAD",
"--gerrit_no_reset" "--gerrit_no_reset"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"src@HEAD", "src@HEAD",
"--no_shallow" "--no_shallow"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
"--revision", "--revision",
"src@HEAD" "src@HEAD"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
"--revision", "--revision",
"src@revision" "src@revision"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"src@HEAD", "src@HEAD",
"--force" "--force"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
"--refs", "--refs",
"+refs/change/1/2/333" "+refs/change/1/2/333"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
"--revision", "--revision",
"src@HEAD" "src@HEAD"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
"--revision", "--revision",
"src@HEAD" "src@HEAD"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
"--revision", "--revision",
"src@HEAD" "src@HEAD"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
"--revision", "--revision",
"src@HEAD" "src@HEAD"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -66,6 +67,7 @@ ...@@ -66,6 +67,7 @@
"-u", "-u",
"import sys; sys.exit(1)" "import sys; sys.exit(1)"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "Patch failure", "name": "Patch failure",
"~followup_annotations": [ "~followup_annotations": [
"step returned non-zero exit code: 1", "step returned non-zero exit code: 1",
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
"--revision", "--revision",
"src@HEAD" "src@HEAD"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -65,6 +66,7 @@ ...@@ -65,6 +66,7 @@
"-u", "-u",
"import sys;print \"Patch download failed. See bot_update step for details\";sys.exit(1)" "import sys;print \"Patch download failed. See bot_update step for details\";sys.exit(1)"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "Patch failure", "name": "Patch failure",
"~followup_annotations": [ "~followup_annotations": [
"step returned non-zero exit code: 1", "step returned non-zero exit code: 1",
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
"--revision", "--revision",
"src/third_party/angle@HEAD" "src/third_party/angle@HEAD"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
"--revision", "--revision",
"src/v8@abc" "src/v8@abc"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
"--revision", "--revision",
"src/v8@HEAD" "src/v8@HEAD"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
"--spec", "--spec",
"cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]" "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -31,6 +32,7 @@ ...@@ -31,6 +32,7 @@
"--output-json", "--output-json",
"/path/to/tmp/json" "/path/to/tmp/json"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -57,6 +59,7 @@ ...@@ -57,6 +59,7 @@
"user.name", "user.name",
"local_bot" "local_bot"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -73,6 +76,7 @@ ...@@ -73,6 +76,7 @@
"user.email", "user.email",
"local_bot@example.com" "local_bot@example.com"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -136,6 +140,7 @@ ...@@ -136,6 +140,7 @@
"\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_path):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.join(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove(path_to_file)\n", "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_path):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.join(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove(path_to_file)\n",
"[CWD]" "[CWD]"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "cleanup index.lock", "name": "cleanup index.lock",
"~followup_annotations": [ "~followup_annotations": [
"@@@STEP_LOG_LINE@python.inline@@@@", "@@@STEP_LOG_LINE@python.inline@@@@",
...@@ -159,6 +164,7 @@ ...@@ -159,6 +164,7 @@
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
"runhooks" "runhooks"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
"--spec", "--spec",
"cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]" "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -33,6 +34,7 @@ ...@@ -33,6 +34,7 @@
"--output-json", "--output-json",
"/path/to/tmp/json" "/path/to/tmp/json"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -59,6 +61,7 @@ ...@@ -59,6 +61,7 @@
"user.name", "user.name",
"local_bot" "local_bot"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -75,6 +78,7 @@ ...@@ -75,6 +78,7 @@
"user.email", "user.email",
"local_bot@example.com" "local_bot@example.com"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -138,6 +142,7 @@ ...@@ -138,6 +142,7 @@
"\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_path):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.join(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove(path_to_file)\n", "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_path):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.join(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove(path_to_file)\n",
"[CWD]" "[CWD]"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "cleanup index.lock", "name": "cleanup index.lock",
"~followup_annotations": [ "~followup_annotations": [
"@@@STEP_LOG_LINE@python.inline@@@@", "@@@STEP_LOG_LINE@python.inline@@@@",
...@@ -161,6 +166,7 @@ ...@@ -161,6 +166,7 @@
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
"runhooks" "runhooks"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
"--spec", "--spec",
"cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]" "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -33,6 +34,7 @@ ...@@ -33,6 +34,7 @@
"--output-json", "--output-json",
"/path/to/tmp/json" "/path/to/tmp/json"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -59,6 +61,7 @@ ...@@ -59,6 +61,7 @@
"user.name", "user.name",
"local_bot" "local_bot"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -75,6 +78,7 @@ ...@@ -75,6 +78,7 @@
"user.email", "user.email",
"local_bot@example.com" "local_bot@example.com"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
...@@ -149,6 +153,7 @@ ...@@ -149,6 +153,7 @@
"\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_path):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.join(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove(path_to_file)\n", "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_path):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.join(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove(path_to_file)\n",
"[CWD]" "[CWD]"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "cleanup index.lock", "name": "cleanup index.lock",
"~followup_annotations": [ "~followup_annotations": [
"@@@STEP_LOG_LINE@python.inline@@@@", "@@@STEP_LOG_LINE@python.inline@@@@",
...@@ -172,6 +177,7 @@ ...@@ -172,6 +177,7 @@
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
"runhooks" "runhooks"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
"--git_cmd_path", "--git_cmd_path",
"RECIPE_PACKAGE_REPO[depot_tools]\\git.bat" "RECIPE_PACKAGE_REPO[depot_tools]\\git.bat"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
"--remote", "--remote",
"not_origin" "not_origin"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"--url", "--url",
"https://chromium.googlesource.com/chromium/src.git" "https://chromium.googlesource.com/chromium/src.git"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "git setup" "name": "git setup"
}, },
{ {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
from recipe_engine import recipe_test_api from recipe_engine import recipe_test_api
from recipe_engine.config_types import Path, NamedBasePath from recipe_engine.config_types import Path, NamedBasePath
class InfraPathsTestApi(recipe_test_api.RecipeTestApi): class InfraPathsTestApi(recipe_test_api.RecipeTestApi): #pragma: no cover
@recipe_test_api.mod_test_data @recipe_test_api.mod_test_data
@staticmethod @staticmethod
def exists(*paths): def exists(*paths):
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
"-u", "-u",
"RECIPE_PACKAGE_REPO[depot_tools]/presubmit_support.py" "RECIPE_PACKAGE_REPO[depot_tools]/presubmit_support.py"
], ],
"cwd": "[SLAVE_BUILD]",
"env": { "env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
}, },
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
"-k", "-k",
"[ROOT]/b/build/site_config/.rietveld_secret_key" "[ROOT]/b/build/site_config/.rietveld_secret_key"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "apply_issue", "name": "apply_issue",
"~followup_annotations": [ "~followup_annotations": [
"@@@STEP_LINK@Applied issue 1@http://review_tool.url/1@@@" "@@@STEP_LINK@Applied issue 1@http://review_tool.url/1@@@"
......
...@@ -5,10 +5,11 @@ ...@@ -5,10 +5,11 @@
"-u", "-u",
"[ROOT]/b/build/scripts/slave/git_setup.py", "[ROOT]/b/build/scripts/slave/git_setup.py",
"--path", "--path",
"[TMP]/patch_tmp_1", "[TMP_BASE]/patch_tmp_1",
"--url", "--url",
"http://patch.url/" "http://patch.url/"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "patch git setup" "name": "patch git setup"
}, },
{ {
...@@ -18,7 +19,7 @@ ...@@ -18,7 +19,7 @@
"origin", "origin",
"johndoe#123.diff" "johndoe#123.diff"
], ],
"cwd": "[TMP]/patch_tmp_1", "cwd": "[TMP_BASE]/patch_tmp_1",
"name": "patch fetch" "name": "patch fetch"
}, },
{ {
...@@ -29,7 +30,7 @@ ...@@ -29,7 +30,7 @@
"-d", "-d",
"-x" "-x"
], ],
"cwd": "[TMP]/patch_tmp_1", "cwd": "[TMP_BASE]/patch_tmp_1",
"name": "patch clean" "name": "patch clean"
}, },
{ {
...@@ -39,7 +40,7 @@ ...@@ -39,7 +40,7 @@
"-f", "-f",
"FETCH_HEAD" "FETCH_HEAD"
], ],
"cwd": "[TMP]/patch_tmp_1", "cwd": "[TMP_BASE]/patch_tmp_1",
"name": "patch git checkout" "name": "patch git checkout"
}, },
{ {
...@@ -53,16 +54,18 @@ ...@@ -53,16 +54,18 @@
"--strip", "--strip",
"0", "0",
"--input", "--input",
"[TMP]/patch_tmp_1/patch.diff" "[TMP_BASE]/patch_tmp_1/patch.diff"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "apply patch" "name": "apply patch"
}, },
{ {
"cmd": [ "cmd": [
"rm", "rm",
"-rf", "-rf",
"[TMP]/patch_tmp_1" "[TMP_BASE]/patch_tmp_1"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "remove patch" "name": "remove patch"
}, },
{ {
...@@ -88,6 +91,7 @@ ...@@ -88,6 +91,7 @@
"-u", "-u",
"import sys; sys.exit(1)" "import sys; sys.exit(1)"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "fail", "name": "fail",
"~followup_annotations": [ "~followup_annotations": [
"step returned non-zero exit code: 1", "step returned non-zero exit code: 1",
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
"https://codereview.chromium.org", "https://codereview.chromium.org",
"--no-auth" "--no-auth"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "apply_issue", "name": "apply_issue",
"~followup_annotations": [ "~followup_annotations": [
"@@@STEP_LINK@Applied issue 12853011@https://codereview.chromium.org/12853011@@@" "@@@STEP_LINK@Applied issue 12853011@https://codereview.chromium.org/12853011@@@"
...@@ -42,6 +43,7 @@ ...@@ -42,6 +43,7 @@
"-u", "-u",
"import sys; sys.exit(1)" "import sys; sys.exit(1)"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "fail", "name": "fail",
"~followup_annotations": [ "~followup_annotations": [
"step returned non-zero exit code: 1", "step returned non-zero exit code: 1",
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
"svn://checkout.url", "svn://checkout.url",
"/path/to/tmp/diff" "/path/to/tmp/diff"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "download patch", "name": "download patch",
"~followup_annotations": [ "~followup_annotations": [
"@@@STEP_LOG_LINE@patch.diff@fake patch.diff content (line 1)@@@", "@@@STEP_LOG_LINE@patch.diff@fake patch.diff content (line 1)@@@",
...@@ -26,6 +27,7 @@ ...@@ -26,6 +27,7 @@
"--strip", "--strip",
"0" "0"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "apply patch", "name": "apply patch",
"stdin": "fake patch.diff content (line 1)\nfake patch.diff content (line 2)\n" "stdin": "fake patch.diff content (line 1)\nfake patch.diff content (line 2)\n"
}, },
...@@ -52,6 +54,7 @@ ...@@ -52,6 +54,7 @@
"-u", "-u",
"import sys; sys.exit(1)" "import sys; sys.exit(1)"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "fail", "name": "fail",
"~followup_annotations": [ "~followup_annotations": [
"step returned non-zero exit code: 1", "step returned non-zero exit code: 1",
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
"-u", "-u",
"import sys; sys.exit(1)" "import sys; sys.exit(1)"
], ],
"cwd": "[SLAVE_BUILD]",
"name": "fail", "name": "fail",
"~followup_annotations": [ "~followup_annotations": [
"step returned non-zero exit code: 1", "step returned non-zero exit code: 1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment