OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [], | 3 "cmd": [], |
4 "name": "ensure_goma" | 4 "name": "ensure_goma" |
5 }, | 5 }, |
6 { | 6 { |
7 "cmd": [ | 7 "cmd": [ |
8 "python", | 8 "python", |
9 "-u", | 9 "-u", |
10 "RECIPE_MODULE[depot_tools::cipd]\\resources\\bootstrap.py", | 10 "RECIPE_MODULE[depot_tools::cipd]\\resources\\bootstrap.py", |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 "GOMA_DUMP_STATS_FILE": "build_data_dir\\goma_stats_proto", | 85 "GOMA_DUMP_STATS_FILE": "build_data_dir\\goma_stats_proto", |
86 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | 86 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" |
87 }, | 87 }, |
88 "name": "start cloudtail", | 88 "name": "start cloudtail", |
89 "stdout": "/path/to/tmp/" | 89 "stdout": "/path/to/tmp/" |
90 }, | 90 }, |
91 { | 91 { |
92 "cmd": [ | 92 "cmd": [ |
93 "python", | 93 "python", |
94 "-u", | 94 "-u", |
| 95 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 96 ], |
| 97 "name": "get the number of cpus", |
| 98 "stdout": "/path/to/tmp/", |
| 99 "~followup_annotations": [ |
| 100 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 101 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 102 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 103 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 104 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 105 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 106 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 107 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 108 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 109 "@@@STEP_LOG_END@python.inline@@@" |
| 110 ] |
| 111 }, |
| 112 { |
| 113 "cmd": [ |
| 114 "echo", |
| 115 "50" |
| 116 ], |
| 117 "name": "echo goma jobs" |
| 118 }, |
| 119 { |
| 120 "cmd": [ |
| 121 "echo", |
| 122 "50" |
| 123 ], |
| 124 "name": "echo goma jobs second" |
| 125 }, |
| 126 { |
| 127 "cmd": [ |
| 128 "python", |
| 129 "-u", |
95 "[CACHE]\\cipd\\goma\\goma_ctl.py", | 130 "[CACHE]\\cipd\\goma\\goma_ctl.py", |
96 "jsonstatus", | 131 "jsonstatus", |
97 "[CACHE]\\cipd\\goma\\jsonstatus" | 132 "[CACHE]\\cipd\\goma\\jsonstatus" |
98 ], | 133 ], |
99 "env": { | 134 "env": { |
100 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir\\crash_report_id_file", | 135 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir\\crash_report_id_file", |
101 "GOMA_DUMP_STATS_FILE": "build_data_dir\\goma_stats_proto", | 136 "GOMA_DUMP_STATS_FILE": "build_data_dir\\goma_stats_proto", |
102 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | 137 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" |
103 }, | 138 }, |
104 "name": "goma_jsonstatus" | 139 "name": "goma_jsonstatus" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 "12345" | 214 "12345" |
180 ], | 215 ], |
181 "name": "stop cloudtail" | 216 "name": "stop cloudtail" |
182 }, | 217 }, |
183 { | 218 { |
184 "name": "$result", | 219 "name": "$result", |
185 "recipe_result": null, | 220 "recipe_result": null, |
186 "status_code": 0 | 221 "status_code": 0 |
187 } | 222 } |
188 ] | 223 ] |
OLD | NEW |