OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
7 "[BUILDER_CACHE]/coverage_clobber", | 7 "[BUILDER_CACHE]/coverage_clobber", |
8 "511" | 8 "511" |
9 ], | 9 ], |
10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 "@@@STEP_LOG_LINE@json.output@ }@@@", | 185 "@@@STEP_LOG_LINE@json.output@ }@@@", |
186 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 186 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
187 "@@@STEP_LOG_LINE@json.output@}@@@", | 187 "@@@STEP_LOG_LINE@json.output@}@@@", |
188 "@@@STEP_LOG_END@json.output@@@" | 188 "@@@STEP_LOG_END@json.output@@@" |
189 ] | 189 ] |
190 }, | 190 }, |
191 { | 191 { |
192 "cmd": [ | 192 "cmd": [ |
193 "python", | 193 "python", |
194 "-u", | 194 "-u", |
| 195 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 196 ], |
| 197 "name": "ensure_goma.get the number of cpus", |
| 198 "stdout": "/path/to/tmp/", |
| 199 "~followup_annotations": [ |
| 200 "@@@STEP_NEST_LEVEL@1@@@", |
| 201 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 202 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 203 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 204 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 205 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 206 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 207 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 208 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 209 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 210 "@@@STEP_LOG_END@python.inline@@@" |
| 211 ] |
| 212 }, |
| 213 { |
| 214 "cmd": [ |
| 215 "python", |
| 216 "-u", |
195 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 217 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
196 "runhooks" | 218 "runhooks" |
197 ], | 219 ], |
198 "cwd": "[BUILDER_CACHE]/coverage_clobber/src", | 220 "cwd": "[BUILDER_CACHE]/coverage_clobber/src", |
199 "env": { | 221 "env": { |
200 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 222 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
201 "GYP_DEFINES": "component=static_library gomadir='[CACHE]/cipd/goma' targe
t_arch=x64 use_goma=1", | 223 "GYP_DEFINES": "component=static_library gomadir='[CACHE]/cipd/goma' targe
t_arch=x64 use_goma=1", |
202 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 224 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
203 }, | 225 }, |
204 "name": "gclient runhooks" | 226 "name": "gclient runhooks" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 "dev" | 336 "dev" |
315 ], | 337 ], |
316 "name": "archive_build" | 338 "name": "archive_build" |
317 }, | 339 }, |
318 { | 340 { |
319 "name": "$result", | 341 "name": "$result", |
320 "recipe_result": null, | 342 "recipe_result": null, |
321 "status_code": 0 | 343 "status_code": 0 |
322 } | 344 } |
323 ] | 345 ] |
OLD | NEW |