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/recipes/chromium.expected/full_chromium_linux_Linux_Builder.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 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 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.linux", 8 "chromium.linux",
9 "--builder", 9 "--builder",
10 "Linux Builder", 10 "Linux Builder",
11 "--slave", 11 "--slave",
12 "TestSlavename", 12 "TestSlavename",
13 "--spec", 13 "--spec",
14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]", 14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]",
15 "--root", 15 "--root",
16 "src", 16 "src",
17 "--revision_mapping_file", 17 "--revision_mapping_file",
18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}", 18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}",
19 "--output_json", 19 "--output_json",
20 "/path/to/tmp/json", 20 "/path/to/tmp/json",
21 "--revision", 21 "--revision",
22 "src@HEAD" 22 "src@HEAD"
23 ], 23 ],
24 "cwd": "[SLAVE_BUILD]",
24 "name": "bot_update", 25 "name": "bot_update",
25 "~followup_annotations": [ 26 "~followup_annotations": [
26 "@@@STEP_TEXT@Some step text@@@", 27 "@@@STEP_TEXT@Some step text@@@",
27 "@@@STEP_LOG_LINE@json.output@{@@@", 28 "@@@STEP_LOG_LINE@json.output@{@@@",
28 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 29 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
29 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", 30 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
30 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", 31 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
31 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 32 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
32 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@", 33 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@",
33 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@", 34 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@",
(...skipping 26 matching lines...) Expand all
60 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" 61 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
61 ] 62 ]
62 }, 63 },
63 { 64 {
64 "cmd": [ 65 "cmd": [
65 "python", 66 "python",
66 "-u", 67 "-u",
67 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", 68 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
68 "--version" 69 "--version"
69 ], 70 ],
71 "cwd": "[SLAVE_BUILD]",
70 "name": "swarming.py --version", 72 "name": "swarming.py --version",
71 "stdout": "/path/to/tmp/", 73 "stdout": "/path/to/tmp/",
72 "~followup_annotations": [ 74 "~followup_annotations": [
73 "@@@STEP_TEXT@0.4.10@@@" 75 "@@@STEP_TEXT@0.4.10@@@"
74 ] 76 ]
75 }, 77 },
76 { 78 {
77 "cmd": [ 79 "cmd": [
78 "python", 80 "python",
79 "-u", 81 "-u",
80 "[DEPOT_TOOLS]/gclient.py", 82 "[DEPOT_TOOLS]/gclient.py",
81 "runhooks" 83 "runhooks"
82 ], 84 ],
85 "cwd": "[SLAVE_BUILD]",
83 "env": { 86 "env": {
84 "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arc h=x64 test_isolation_mode=prepare use_goma=1" 87 "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arc h=x64 test_isolation_mode=prepare use_goma=1"
85 }, 88 },
86 "name": "gclient runhooks" 89 "name": "gclient runhooks"
87 }, 90 },
88 { 91 {
89 "cmd": [ 92 "cmd": [
90 "python", 93 "python",
91 "-u", 94 "-u",
92 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 95 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
93 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json", 96 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json",
94 "/path/to/tmp/json" 97 "/path/to/tmp/json"
95 ], 98 ],
99 "cwd": "[SLAVE_BUILD]",
96 "name": "read test spec", 100 "name": "read test spec",
97 "~followup_annotations": [ 101 "~followup_annotations": [
98 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json @@@", 102 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json @@@",
99 "@@@STEP_LOG_LINE@json.output@{@@@", 103 "@@@STEP_LOG_LINE@json.output@{@@@",
100 "@@@STEP_LOG_LINE@json.output@ \"Linux Tests\": {@@@", 104 "@@@STEP_LOG_LINE@json.output@ \"Linux Tests\": {@@@",
101 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", 105 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
102 "@@@STEP_LOG_LINE@json.output@ {@@@", 106 "@@@STEP_LOG_LINE@json.output@ {@@@",
103 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", 107 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
104 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": true@@@", 108 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": true@@@",
105 "@@@STEP_LOG_LINE@json.output@ }, @@@", 109 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 13 matching lines...) Expand all
119 "--output", 123 "--output",
120 "/path/to/tmp/json", 124 "/path/to/tmp/json",
121 "--", 125 "--",
122 "--build-config-fs", 126 "--build-config-fs",
123 "Release", 127 "Release",
124 "--paths", 128 "--paths",
125 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}", 129 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}",
126 "--properties", 130 "--properties",
127 "{\"buildername\": \"Linux Builder\", \"buildnumber\": 571, \"mastername\" : \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"l inux\"}" 131 "{\"buildername\": \"Linux Builder\", \"buildnumber\": 571, \"mastername\" : \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"l inux\"}"
128 ], 132 ],
133 "cwd": "[SLAVE_BUILD]",
129 "name": "get compile targets for scripts", 134 "name": "get compile targets for scripts",
130 "~followup_annotations": [ 135 "~followup_annotations": [
131 "@@@STEP_LOG_LINE@json.output@{}@@@", 136 "@@@STEP_LOG_LINE@json.output@{}@@@",
132 "@@@STEP_LOG_END@json.output@@@" 137 "@@@STEP_LOG_END@json.output@@@"
133 ] 138 ]
134 }, 139 },
135 { 140 {
136 "cmd": [ 141 "cmd": [
137 "python", 142 "python",
138 "-u", 143 "-u",
139 "[BUILD]/scripts/slave/cleanup_temp.py" 144 "[BUILD]/scripts/slave/cleanup_temp.py"
140 ], 145 ],
146 "cwd": "[SLAVE_BUILD]",
141 "name": "cleanup_temp" 147 "name": "cleanup_temp"
142 }, 148 },
143 { 149 {
144 "cmd": [ 150 "cmd": [
145 "python", 151 "python",
146 "-u", 152 "-u",
147 "RECIPE_MODULE[isolate]/resources/find_isolated_tests.py", 153 "RECIPE_MODULE[isolate]/resources/find_isolated_tests.py",
148 "--build-dir", 154 "--build-dir",
149 "[SLAVE_BUILD]/src/out/Release", 155 "[SLAVE_BUILD]/src/out/Release",
150 "--clean-isolated-files" 156 "--clean-isolated-files"
151 ], 157 ],
158 "cwd": "[SLAVE_BUILD]",
152 "name": "clean isolated files" 159 "name": "clean isolated files"
153 }, 160 },
154 { 161 {
155 "cmd": [ 162 "cmd": [
156 "python", 163 "python",
157 "-u", 164 "-u",
158 "[BUILD]/scripts/slave/compile.py", 165 "[BUILD]/scripts/slave/compile.py",
159 "--target", 166 "--target",
160 "Release", 167 "Release",
161 "--src-dir", 168 "--src-dir",
162 "[SLAVE_BUILD]/src", 169 "[SLAVE_BUILD]/src",
163 "--build-tool", 170 "--build-tool",
164 "ninja", 171 "ninja",
165 "--compiler", 172 "--compiler",
166 "goma", 173 "goma",
167 "--goma-dir", 174 "--goma-dir",
168 "[BUILD]/goma", 175 "[BUILD]/goma",
169 "--", 176 "--",
170 "browser_tests", 177 "browser_tests",
171 "browser_tests_run", 178 "browser_tests_run",
172 "chromium_swarm_tests" 179 "chromium_swarm_tests"
173 ], 180 ],
181 "cwd": "[SLAVE_BUILD]",
174 "name": "compile" 182 "name": "compile"
175 }, 183 },
176 { 184 {
177 "cmd": [ 185 "cmd": [
178 "python", 186 "python",
179 "-u", 187 "-u",
180 "RECIPE_MODULE[isolate]/resources/remove_build_metadata.py", 188 "RECIPE_MODULE[isolate]/resources/remove_build_metadata.py",
181 "--build-dir", 189 "--build-dir",
182 "[SLAVE_BUILD]/src/out/Release", 190 "[SLAVE_BUILD]/src/out/Release",
183 "--src-dir", 191 "--src-dir",
184 "[SLAVE_BUILD]/src" 192 "[SLAVE_BUILD]/src"
185 ], 193 ],
186 "cwd": "[SLAVE_BUILD]", 194 "cwd": "[SLAVE_BUILD]",
187 "name": "remove_build_metadata" 195 "name": "remove_build_metadata"
188 }, 196 },
189 { 197 {
190 "cmd": [ 198 "cmd": [
191 "python", 199 "python",
192 "-u", 200 "-u",
193 "[SLAVE_BUILD]/src/tools/swarming_client/isolate.py", 201 "[SLAVE_BUILD]/src/tools/swarming_client/isolate.py",
194 "batcharchive", 202 "batcharchive",
195 "--dump-json", 203 "--dump-json",
196 "/path/to/tmp/json", 204 "/path/to/tmp/json",
197 "--isolate-server", 205 "--isolate-server",
198 "https://isolateserver.appspot.com", 206 "https://isolateserver.appspot.com",
199 "--verbose", 207 "--verbose",
200 "[SLAVE_BUILD]/src/out/Release/browser_tests.isolated.gen.json" 208 "[SLAVE_BUILD]/src/out/Release/browser_tests.isolated.gen.json"
201 ], 209 ],
210 "cwd": "[SLAVE_BUILD]",
202 "name": "isolate tests", 211 "name": "isolate tests",
203 "~followup_annotations": [ 212 "~followup_annotations": [
204 "@@@STEP_LOG_LINE@json.output@{@@@", 213 "@@@STEP_LOG_LINE@json.output@{@@@",
205 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\": \"[dummy hash for brows er_tests]\"@@@", 214 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\": \"[dummy hash for brows er_tests]\"@@@",
206 "@@@STEP_LOG_LINE@json.output@}@@@", 215 "@@@STEP_LOG_LINE@json.output@}@@@",
207 "@@@STEP_LOG_END@json.output@@@" 216 "@@@STEP_LOG_END@json.output@@@"
208 ] 217 ]
209 }, 218 },
210 { 219 {
211 "cmd": [ 220 "cmd": [
212 "python", 221 "python",
213 "-u", 222 "-u",
214 "[BUILD]/scripts/slave/archive_dependencies.py", 223 "[BUILD]/scripts/slave/archive_dependencies.py",
215 "--src-dir", 224 "--src-dir",
216 "[SLAVE_BUILD]/src", 225 "[SLAVE_BUILD]/src",
217 "--target", 226 "--target",
218 "Release", 227 "Release",
219 "--master", 228 "--master",
220 "chromium.linux", 229 "chromium.linux",
221 "--builder", 230 "--builder",
222 "Linux Builder", 231 "Linux Builder",
223 "--build", 232 "--build",
224 "571" 233 "571"
225 ], 234 ],
235 "cwd": "[SLAVE_BUILD]",
226 "name": "archive dependencies" 236 "name": "archive dependencies"
227 }, 237 },
228 { 238 {
229 "allow_subannotations": true, 239 "allow_subannotations": true,
230 "cmd": [ 240 "cmd": [
231 "python", 241 "python",
232 "-u", 242 "-u",
233 "[BUILD]/scripts/slave/zip_build.py", 243 "[BUILD]/scripts/slave/zip_build.py",
234 "--target", 244 "--target",
235 "Release", 245 "Release",
236 "--build-url", 246 "--build-url",
237 "gs://chromium-linux-archive/chromium.linux/Linux Builder", 247 "gs://chromium-linux-archive/chromium.linux/Linux Builder",
238 "--build_revision", 248 "--build_revision",
239 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9", 249 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
240 "--factory-properties", 250 "--factory-properties",
241 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Linux Builder\", \"buildnumber\": 571, \"mastername\": \"chromi um.linux\", \"parent_buildername\": null, \"recipe\": \"chromium\", \"slavename\ ": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}", 251 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Linux Builder\", \"buildnumber\": 571, \"mastername\": \"chromi um.linux\", \"parent_buildername\": null, \"recipe\": \"chromium\", \"slavename\ ": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
242 "--build-properties", 252 "--build-properties",
243 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Linux Builder\", \"buildnumber\": 571, \"mastername\": \"chromi um.linux\", \"parent_buildername\": null, \"recipe\": \"chromium\", \"slavename\ ": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}" 253 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Linux Builder\", \"buildnumber\": 571, \"mastername\": \"chromi um.linux\", \"parent_buildername\": null, \"recipe\": \"chromium\", \"slavename\ ": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}"
244 ], 254 ],
255 "cwd": "[SLAVE_BUILD]",
245 "name": "package build" 256 "name": "package build"
246 } 257 }
247 ] 258 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698