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

Side by Side Diff: scripts/slave/recipes/chromium.expected/chromium_webkit_parent_revision_chromium.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py" 6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py"
7 ], 7 ],
8 "name": "taskkill" 8 "name": "taskkill"
9 }, 9 },
10 { 10 {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 "@@@STEP_LOG_LINE@json.output@ }@@@", 167 "@@@STEP_LOG_LINE@json.output@ }@@@",
168 "@@@STEP_LOG_LINE@json.output@ ]@@@", 168 "@@@STEP_LOG_LINE@json.output@ ]@@@",
169 "@@@STEP_LOG_LINE@json.output@}@@@", 169 "@@@STEP_LOG_LINE@json.output@}@@@",
170 "@@@STEP_LOG_END@json.output@@@" 170 "@@@STEP_LOG_END@json.output@@@"
171 ] 171 ]
172 }, 172 },
173 { 173 {
174 "cmd": [ 174 "cmd": [
175 "python", 175 "python",
176 "-u", 176 "-u",
177 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
178 ],
179 "name": "ensure_goma.get the number of cpus",
180 "stdout": "/path/to/tmp/",
181 "~followup_annotations": [
182 "@@@STEP_NEST_LEVEL@1@@@",
183 "@@@STEP_LOG_LINE@python.inline@@@@",
184 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
185 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
186 "@@@STEP_LOG_END@python.inline@@@"
187 ]
188 },
189 {
190 "cmd": [
191 "python",
192 "-u",
177 "[SLAVE_BUILD]\\src\\tools\\swarming_client\\swarming.py", 193 "[SLAVE_BUILD]\\src\\tools\\swarming_client\\swarming.py",
178 "--version" 194 "--version"
179 ], 195 ],
180 "name": "swarming.py --version", 196 "name": "swarming.py --version",
181 "stdout": "/path/to/tmp/", 197 "stdout": "/path/to/tmp/",
182 "~followup_annotations": [ 198 "~followup_annotations": [
183 "@@@STEP_TEXT@0.8.6@@@" 199 "@@@STEP_TEXT@0.8.6@@@"
184 ] 200 ]
185 }, 201 },
186 { 202 {
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 378 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
363 }, 379 },
364 "name": "process_dumps" 380 "name": "process_dumps"
365 }, 381 },
366 { 382 {
367 "name": "$result", 383 "name": "$result",
368 "recipe_result": null, 384 "recipe_result": null,
369 "status_code": 0 385 "status_code": 0
370 } 386 }
371 ] 387 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698