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

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: 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",
(...skipping 10 matching lines...) Expand all
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", 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", 31 "--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']", 32 "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", 33 "--root",
40 "src/repo", 34 "src/repo",
41 "--revision_mapping_file", 35 "--revision_mapping_file",
42 "{}", 36 "{}",
43 "--git-cache-dir", 37 "--git-cache-dir",
44 "[GIT_CACHE]", 38 "[GIT_CACHE]",
45 "--patch_url", 39 "--patch_url",
46 "https://the.patch.url/the.patch", 40 "https://the.patch.url/the.patch",
47 "--output_json", 41 "--output_json",
48 "/path/to/tmp/json", 42 "/path/to/tmp/json",
49 "--revision", 43 "--revision",
50 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 44 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
51 "--refs", 45 "--refs",
52 "refs/changes/50/176150/1", 46 "refs/changes/50/176150/1",
53 "--output_manifest" 47 "--output_manifest"
54 ], 48 ],
55 "cwd": "[SLAVE_BUILD]", 49 "cwd": "[SLAVE_BUILD]",
56 "env": { 50 "env": {
57 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 51 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]"
58 }, 52 },
59 "name": "bot_update", 53 "name": "bot_update",
60 "~followup_annotations": [ 54 "~followup_annotations": [
55 "@@@STEP_TEXT@Some step text@@@",
61 "@@@STEP_LOG_LINE@json.output@{@@@", 56 "@@@STEP_LOG_LINE@json.output@{@@@",
62 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", 57 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
63 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", 58 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
59 "@@@STEP_LOG_LINE@json.output@ \"src/repo\": \"4f4b02f6b7fa20a3a25682c4 57bbc8ad589c8a00\"@@@",
60 "@@@STEP_LOG_LINE@json.output@ }, @@@",
61 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
63 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src/repo\", @@@",
64 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@",
65 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src/repo\", @@@",
66 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
64 "@@@STEP_LOG_LINE@json.output@}@@@", 67 "@@@STEP_LOG_LINE@json.output@}@@@",
65 "@@@STEP_LOG_END@json.output@@@" 68 "@@@STEP_LOG_END@json.output@@@"
66 ] 69 ]
67 }, 70 },
68 { 71 {
69 "cmd": [ 72 "cmd": [
70 "python", 73 "python",
71 "-u", 74 "-u",
72 "RECIPE_PACKAGE[depot_tools]/gclient.py",
73 "config",
74 "--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']"
76 ],
77 "cwd": "[SLAVE_BUILD]",
78 "env": {
79 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]"
80 },
81 "name": "gclient setup"
82 },
83 {
84 "cmd": [
85 "python",
86 "-u",
87 "[BUILD]/scripts/slave/gclient_safe_revert.py",
88 ".",
89 "[DEPOT_TOOLS]/gclient"
90 ],
91 "cwd": "[SLAVE_BUILD]",
92 "name": "gclient revert"
93 },
94 {
95 "cmd": [
96 "python",
97 "-u",
98 "RECIPE_PACKAGE[depot_tools]/gclient.py",
99 "sync",
100 "--nohooks",
101 "--force",
102 "--verbose",
103 "--delete_unversioned_trees",
104 "--revision",
105 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
106 "--output-json",
107 "/path/to/tmp/json"
108 ],
109 "cwd": "[SLAVE_BUILD]",
110 "env": {
111 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]"
112 },
113 "name": "gclient sync",
114 "~followup_annotations": [
115 "@@@STEP_LOG_LINE@json.output@{@@@",
116 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
117 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
118 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
119 "@@@STEP_LOG_LINE@json.output@ }, @@@",
120 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
121 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
122 "@@@STEP_LOG_LINE@json.output@ }, @@@",
123 "@@@STEP_LOG_LINE@json.output@ \"src/repo/\": {@@@",
124 "@@@STEP_LOG_LINE@json.output@ \"revision\": 126336@@@",
125 "@@@STEP_LOG_LINE@json.output@ }, @@@",
126 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle/\": {@@@",
127 "@@@STEP_LOG_LINE@json.output@ \"revision\": 297276@@@",
128 "@@@STEP_LOG_LINE@json.output@ }, @@@",
129 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc/\": {@@@",
130 "@@@STEP_LOG_LINE@json.output@ \"revision\": 120644@@@",
131 "@@@STEP_LOG_LINE@json.output@ }, @@@",
132 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client/\": {@@@",
133 "@@@STEP_LOG_LINE@json.output@ \"revision\": 276089@@@",
134 "@@@STEP_LOG_LINE@json.output@ }, @@@",
135 "@@@STEP_LOG_LINE@json.output@ \"src/v8/\": {@@@",
136 "@@@STEP_LOG_LINE@json.output@ \"revision\": 43426@@@",
137 "@@@STEP_LOG_LINE@json.output@ }@@@",
138 "@@@STEP_LOG_LINE@json.output@ }@@@",
139 "@@@STEP_LOG_LINE@json.output@}@@@",
140 "@@@STEP_LOG_END@json.output@@@",
141 "@@@SET_BUILD_PROPERTY@got_nacl_revision@274981@@@",
142 "@@@SET_BUILD_PROPERTY@got_src_revision@170242@@@",
143 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@",
144 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@",
145 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@",
146 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@"
147 ]
148 },
149 {
150 "cmd": [
151 "python",
152 "-u",
153 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n", 75 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n",
154 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", 76 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
155 "[SLAVE_BUILD]/src/out/Release/test_logs", 77 "[SLAVE_BUILD]/src/out/Release/test_logs",
156 "[SLAVE_BUILD]/src/out/build_product.zip", 78 "[SLAVE_BUILD]/src/out/build_product.zip",
157 "[SLAVE_BUILD]/src" 79 "[SLAVE_BUILD]/src"
158 ], 80 ],
159 "cwd": "[SLAVE_BUILD]", 81 "cwd": "[SLAVE_BUILD]",
160 "name": "clean local files", 82 "name": "clean local files",
161 "~followup_annotations": [ 83 "~followup_annotations": [
162 "@@@STEP_LOG_LINE@python.inline@@@@", 84 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 589 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" 674 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
753 }, 675 },
754 "name": "stack_tool_for_asan" 676 "name": "stack_tool_for_asan"
755 }, 677 },
756 { 678 {
757 "name": "$result", 679 "name": "$result",
758 "recipe_result": null, 680 "recipe_result": null,
759 "status_code": 0 681 "status_code": 0
760 } 682 }
761 ] 683 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698