| 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]/Linux64_GCC", | 7 "[BUILDER_CACHE]/Linux64_GCC", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 "@@@STEP_LOG_LINE@json.output@ }@@@", | 153 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 154 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 154 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 155 "@@@STEP_LOG_LINE@json.output@}@@@", | 155 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 156 "@@@STEP_LOG_END@json.output@@@" | 156 "@@@STEP_LOG_END@json.output@@@" |
| 157 ] | 157 ] |
| 158 }, | 158 }, |
| 159 { | 159 { |
| 160 "cmd": [ | 160 "cmd": [ |
| 161 "python", | 161 "python", |
| 162 "-u", | 162 "-u", |
| 163 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10
)\n" |
| 164 ], |
| 165 "name": "ensure_goma.get the number of cpus", |
| 166 "stdout": "/path/to/tmp/", |
| 167 "~followup_annotations": [ |
| 168 "@@@STEP_NEST_LEVEL@1@@@", |
| 169 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 170 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 171 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count()
* 10)@@@", |
| 172 "@@@STEP_LOG_END@python.inline@@@" |
| 173 ] |
| 174 }, |
| 175 { |
| 176 "cmd": [ |
| 177 "python", |
| 178 "-u", |
| 163 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 179 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 164 "runhooks" | 180 "runhooks" |
| 165 ], | 181 ], |
| 166 "cwd": "[BUILDER_CACHE]/Linux64_GCC/src", | 182 "cwd": "[BUILDER_CACHE]/Linux64_GCC/src", |
| 167 "env": { | 183 "env": { |
| 168 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 184 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 169 "GYP_DEFINES": "clang=0 component=static_library gomadir='[CACHE]/cipd/gom
a' target_arch=x64 use_goma=1", | 185 "GYP_DEFINES": "clang=0 component=static_library gomadir='[CACHE]/cipd/gom
a' target_arch=x64 use_goma=1", |
| 170 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 186 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 171 }, | 187 }, |
| 172 "name": "gclient runhooks" | 188 "name": "gclient runhooks" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 225 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 210 "@@@STEP_LOG_END@json.output (invalid)@@@" | 226 "@@@STEP_LOG_END@json.output (invalid)@@@" |
| 211 ] | 227 ] |
| 212 }, | 228 }, |
| 213 { | 229 { |
| 214 "name": "$result", | 230 "name": "$result", |
| 215 "recipe_result": null, | 231 "recipe_result": null, |
| 216 "status_code": 0 | 232 "status_code": 0 |
| 217 } | 233 } |
| 218 ] | 234 ] |
| OLD | NEW |