| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 }, | 80 }, |
| 81 "name": "start_goma" | 81 "name": "start_goma" |
| 82 }, | 82 }, |
| 83 { | 83 { |
| 84 "cmd": [ | 84 "cmd": [ |
| 85 "python", | 85 "python", |
| 86 "-u", | 86 "-u", |
| 87 "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", | 87 "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", |
| 88 "start", | 88 "start", |
| 89 "--cloudtail-path", | 89 "--cloudtail-path", |
| 90 "[CACHE]/cipd/goma/cloudtail" | 90 "[CACHE]/cipd/goma/cloudtail", |
| 91 "--pid-file", |
| 92 "/path/to/tmp/" |
| 91 ], | 93 ], |
| 92 "env": { | 94 "env": { |
| 93 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir/crash_report_id_file", | 95 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir/crash_report_id_file", |
| 94 "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto", | 96 "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto", |
| 95 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 97 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 96 }, | 98 }, |
| 97 "name": "start cloudtail", | 99 "name": "start cloudtail" |
| 98 "stdout": "/path/to/tmp/" | |
| 99 }, | 100 }, |
| 100 { | 101 { |
| 101 "cmd": [ | 102 "cmd": [ |
| 102 "python", | 103 "python", |
| 103 "-u", | 104 "-u", |
| 104 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform.
startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi
t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep
t NotImplementedError:\n jobs = 50\n\nprint jobs\n" | 105 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform.
startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi
t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep
t NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 105 ], | 106 ], |
| 106 "name": "calculate the number of recommended jobs", | 107 "name": "calculate the number of recommended jobs", |
| 107 "stdout": "/path/to/tmp/", | 108 "stdout": "/path/to/tmp/", |
| 108 "~followup_annotations": [ | 109 "~followup_annotations": [ |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 "12345" | 230 "12345" |
| 230 ], | 231 ], |
| 231 "name": "stop cloudtail" | 232 "name": "stop cloudtail" |
| 232 }, | 233 }, |
| 233 { | 234 { |
| 234 "name": "$result", | 235 "name": "$result", |
| 235 "recipe_result": null, | 236 "recipe_result": null, |
| 236 "status_code": 0 | 237 "status_code": 0 |
| 237 } | 238 } |
| 238 ] | 239 ] |
| OLD | NEW |