Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/gerrit_refs.json

Issue 1694383003: build: Bot_update refactor recipe roll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Disable for cronet and swarming Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\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.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\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.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]", 9 "cwd": "[SLAVE_BUILD]",
10 "name": "cleanup index.lock", 10 "name": "cleanup index.lock",
11 "~followup_annotations": [ 11 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@", 12 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
14 "@@@STEP_LOG_LINE@python.inline@@@@", 14 "@@@STEP_LOG_LINE@python.inline@@@@",
15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", 15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@", 17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", 18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@", 19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@",
20 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", 20 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@", 21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
23 "@@@STEP_LOG_END@python.inline@@@" 23 "@@@STEP_LOG_END@python.inline@@@"
24 ] 24 ]
25 }, 25 },
26 { 26 {
27 "cmd": [ 27 "cmd": [
28 "python", 28 "python",
29 "-u", 29 "-u",
30 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
31 "--master",
32 "chromium.testing.master",
33 "--builder",
34 "gerrit_try_builder",
35 "--slave",
36 "testslave",
37 "--spec",
38 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']",
39 "--root",
40 "src/repo",
41 "--revision_mapping_file",
42 "{}",
43 "--git-cache-dir",
44 "[GIT_CACHE]",
45 "--patch_url",
46 "https://the.patch.url/the.patch",
47 "--output_json",
48 "/path/to/tmp/json",
49 "--revision",
50 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
51 "--refs",
52 "refs/changes/50/176150/1",
53 "--output_manifest"
54 ],
55 "cwd": "[SLAVE_BUILD]",
56 "env": {
57 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]"
58 },
59 "name": "bot_update",
60 "~followup_annotations": [
61 "@@@STEP_LOG_LINE@json.output@{@@@",
62 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@",
63 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@",
64 "@@@STEP_LOG_LINE@json.output@}@@@",
65 "@@@STEP_LOG_END@json.output@@@"
66 ]
67 },
68 {
69 "cmd": [
70 "python",
71 "-u",
72 "RECIPE_PACKAGE[depot_tools]/gclient.py", 30 "RECIPE_PACKAGE[depot_tools]/gclient.py",
73 "config", 31 "config",
74 "--spec", 32 "--spec",
75 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']" 33 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']"
76 ], 34 ],
77 "cwd": "[SLAVE_BUILD]", 35 "cwd": "[SLAVE_BUILD]",
78 "env": { 36 "env": {
79 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 37 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]"
80 }, 38 },
81 "name": "gclient setup" 39 "name": "gclient setup"
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 710 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
753 }, 711 },
754 "name": "stack_tool_for_asan" 712 "name": "stack_tool_for_asan"
755 }, 713 },
756 { 714 {
757 "name": "$result", 715 "name": "$result",
758 "recipe_result": null, 716 "recipe_result": null,
759 "status_code": 0 717 "status_code": 0
760 } 718 }
761 ] 719 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698