Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: scripts/slave/recipes/mojo.expected/mojo_linux_try.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.testing.master", 8 "chromium.testing.master",
9 "--builder", 9 "--builder",
10 "Mojo Linux Try", 10 "Mojo Linux Try",
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 "@@@STEP_LOG_LINE@json.output@ }@@@", 120 "@@@STEP_LOG_LINE@json.output@ }@@@",
121 "@@@STEP_LOG_LINE@json.output@ ]@@@", 121 "@@@STEP_LOG_LINE@json.output@ ]@@@",
122 "@@@STEP_LOG_LINE@json.output@}@@@", 122 "@@@STEP_LOG_LINE@json.output@}@@@",
123 "@@@STEP_LOG_END@json.output@@@" 123 "@@@STEP_LOG_END@json.output@@@"
124 ] 124 ]
125 }, 125 },
126 { 126 {
127 "cmd": [ 127 "cmd": [
128 "python", 128 "python",
129 "-u", 129 "-u",
130 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
131 ],
132 "name": "ensure_goma.get the number of cpus",
133 "stdout": "/path/to/tmp/",
134 "~followup_annotations": [
135 "@@@STEP_NEST_LEVEL@1@@@",
136 "@@@STEP_LOG_LINE@python.inline@@@@",
137 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
138 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
139 "@@@STEP_LOG_END@python.inline@@@"
140 ]
141 },
142 {
143 "cmd": [
144 "python",
145 "-u",
130 "[SLAVE_BUILD]/src/mojo/tools/mojob.py", 146 "[SLAVE_BUILD]/src/mojo/tools/mojob.py",
131 "gn", 147 "gn",
132 "--release", 148 "--release",
133 "--dcheck_always_on" 149 "--dcheck_always_on"
134 ], 150 ],
135 "cwd": "[SLAVE_BUILD]/src", 151 "cwd": "[SLAVE_BUILD]/src",
136 "env": { 152 "env": {
137 "GOMA_DIR": "[CACHE]/cipd/goma", 153 "GOMA_DIR": "[CACHE]/cipd/goma",
138 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 154 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
139 }, 155 },
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 ], 197 ],
182 "cwd": "[SLAVE_BUILD]/src", 198 "cwd": "[SLAVE_BUILD]/src",
183 "name": "Hello" 199 "name": "Hello"
184 }, 200 },
185 { 201 {
186 "name": "$result", 202 "name": "$result",
187 "recipe_result": null, 203 "recipe_result": null,
188 "status_code": 0 204 "status_code": 0
189 } 205 }
190 ] 206 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698