OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
7 "--master", | 7 "--master", |
8 "tryserver.chromium.perf", | 8 "tryserver.chromium.perf", |
9 "--builder", | 9 "--builder", |
10 "linux_perf_bisect", | 10 "linux_perf_bisect", |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 "@@@STEP_LOG_LINE@json.output@ }@@@", | 159 "@@@STEP_LOG_LINE@json.output@ }@@@", |
160 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 160 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
161 "@@@STEP_LOG_LINE@json.output@}@@@", | 161 "@@@STEP_LOG_LINE@json.output@}@@@", |
162 "@@@STEP_LOG_END@json.output@@@" | 162 "@@@STEP_LOG_END@json.output@@@" |
163 ] | 163 ] |
164 }, | 164 }, |
165 { | 165 { |
166 "cmd": [ | 166 "cmd": [ |
167 "python", | 167 "python", |
168 "-u", | 168 "-u", |
| 169 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10
)\n" |
| 170 ], |
| 171 "name": "ensure_goma.get the number of cpus", |
| 172 "stdout": "/path/to/tmp/", |
| 173 "~followup_annotations": [ |
| 174 "@@@STEP_NEST_LEVEL@1@@@", |
| 175 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 176 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 177 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count()
* 10)@@@", |
| 178 "@@@STEP_LOG_END@python.inline@@@" |
| 179 ] |
| 180 }, |
| 181 { |
| 182 "cmd": [ |
| 183 "python", |
| 184 "-u", |
169 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 185 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
170 "runhooks" | 186 "runhooks" |
171 ], | 187 ], |
172 "cwd": "[SLAVE_BUILD]/src", | 188 "cwd": "[SLAVE_BUILD]/src", |
173 "env": { | 189 "env": { |
174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 190 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
175 "GYP_CHROMIUM_NO_ACTION": "1", | 191 "GYP_CHROMIUM_NO_ACTION": "1", |
176 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar
y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", | 192 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar
y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", |
177 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 193 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
178 }, | 194 }, |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 "@@@STEP_LOG_LINE@json.output@}@@@", | 719 "@@@STEP_LOG_LINE@json.output@}@@@", |
704 "@@@STEP_LOG_END@json.output@@@" | 720 "@@@STEP_LOG_END@json.output@@@" |
705 ] | 721 ] |
706 }, | 722 }, |
707 { | 723 { |
708 "name": "$result", | 724 "name": "$result", |
709 "recipe_result": null, | 725 "recipe_result": null, |
710 "status_code": 0 | 726 "status_code": 0 |
711 } | 727 } |
712 ] | 728 ] |
OLD | NEW |