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 "chromium.android", | 8 "chromium.android", |
9 "--builder", | 9 "--builder", |
10 "Lollipop Phone Tester", | 10 "Lollipop Phone Tester", |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_LINE@json.output@}@@@", | 162 "@@@STEP_LOG_LINE@json.output@}@@@", |
163 "@@@STEP_LOG_END@json.output@@@" | 163 "@@@STEP_LOG_END@json.output@@@" |
164 ] | 164 ] |
165 }, | 165 }, |
166 { | 166 { |
167 "cmd": [ | 167 "cmd": [ |
168 "python", | 168 "python", |
169 "-u", | 169 "-u", |
| 170 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10
)\n" |
| 171 ], |
| 172 "name": "ensure_goma.get the number of cpus", |
| 173 "stdout": "/path/to/tmp/", |
| 174 "~followup_annotations": [ |
| 175 "@@@STEP_NEST_LEVEL@1@@@", |
| 176 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 177 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 178 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count()
* 10)@@@", |
| 179 "@@@STEP_LOG_END@python.inline@@@" |
| 180 ] |
| 181 }, |
| 182 { |
| 183 "cmd": [ |
| 184 "python", |
| 185 "-u", |
170 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 186 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
171 "runhooks" | 187 "runhooks" |
172 ], | 188 ], |
173 "cwd": "[SLAVE_BUILD]/src", | 189 "cwd": "[SLAVE_BUILD]/src", |
174 "env": { | 190 "env": { |
175 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 191 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
176 "GYP_CHROMIUM_NO_ACTION": "1", | 192 "GYP_CHROMIUM_NO_ACTION": "1", |
177 "GYP_CROSSCOMPILE": "1", | 193 "GYP_CROSSCOMPILE": "1", |
178 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
CACHE]/cipd/goma' target_arch=arm use_goma=1", | 194 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
CACHE]/cipd/goma' target_arch=arm use_goma=1", |
179 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 195 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 716 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
701 "@@@STEP_LOG_END@python.inline@@@" | 717 "@@@STEP_LOG_END@python.inline@@@" |
702 ] | 718 ] |
703 }, | 719 }, |
704 { | 720 { |
705 "name": "$result", | 721 "name": "$result", |
706 "recipe_result": null, | 722 "recipe_result": null, |
707 "status_code": 0 | 723 "status_code": 0 |
708 } | 724 } |
709 ] | 725 ] |
OLD | NEW |