| 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]/Linux_V8_API_Stability", | 7 "[BUILDER_CACHE]/Linux_V8_API_Stability", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 "@@@STEP_LOG_LINE@json.output@ }@@@", | 187 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 188 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 188 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 189 "@@@STEP_LOG_LINE@json.output@}@@@", | 189 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 190 "@@@STEP_LOG_END@json.output@@@" | 190 "@@@STEP_LOG_END@json.output@@@" |
| 191 ] | 191 ] |
| 192 }, | 192 }, |
| 193 { | 193 { |
| 194 "cmd": [ | 194 "cmd": [ |
| 195 "python", | 195 "python", |
| 196 "-u", | 196 "-u", |
| 197 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10
)\n" |
| 198 ], |
| 199 "name": "ensure_goma.get the number of cpus", |
| 200 "stdout": "/path/to/tmp/", |
| 201 "~followup_annotations": [ |
| 202 "@@@STEP_NEST_LEVEL@1@@@", |
| 203 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 204 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 205 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count()
* 10)@@@", |
| 206 "@@@STEP_LOG_END@python.inline@@@" |
| 207 ] |
| 208 }, |
| 209 { |
| 210 "cmd": [ |
| 211 "python", |
| 212 "-u", |
| 197 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 213 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 198 "runhooks" | 214 "runhooks" |
| 199 ], | 215 ], |
| 200 "cwd": "[BUILDER_CACHE]/Linux_V8_API_Stability/src", | 216 "cwd": "[BUILDER_CACHE]/Linux_V8_API_Stability/src", |
| 201 "env": { | 217 "env": { |
| 202 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 218 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 203 "GYP_CHROMIUM_NO_ACTION": "1", | 219 "GYP_CHROMIUM_NO_ACTION": "1", |
| 204 "GYP_DEFINES": "component=static_library gomadir='[CACHE]/cipd/goma' targe
t_arch=x64 use_goma=1", | 220 "GYP_DEFINES": "component=static_library gomadir='[CACHE]/cipd/goma' targe
t_arch=x64 use_goma=1", |
| 205 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 221 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 206 }, | 222 }, |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 332 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 317 "@@@STEP_LOG_END@json.output (invalid)@@@" | 333 "@@@STEP_LOG_END@json.output (invalid)@@@" |
| 318 ] | 334 ] |
| 319 }, | 335 }, |
| 320 { | 336 { |
| 321 "name": "$result", | 337 "name": "$result", |
| 322 "recipe_result": null, | 338 "recipe_result": null, |
| 323 "status_code": 0 | 339 "status_code": 0 |
| 324 } | 340 } |
| 325 ] | 341 ] |
| OLD | NEW |