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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir/crash_report_id_file", | 64 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir/crash_report_id_file", |
65 "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto", | 65 "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto", |
66 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 66 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
67 }, | 67 }, |
68 "name": "start_goma" | 68 "name": "start_goma" |
69 }, | 69 }, |
70 { | 70 { |
71 "cmd": [ | 71 "cmd": [ |
72 "python", | 72 "python", |
73 "-u", | 73 "-u", |
| 74 "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", |
| 75 "start", |
| 76 "--cloudtail-path", |
| 77 "/opt/infra-tools/cloudtail" |
| 78 ], |
| 79 "env": { |
| 80 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir/crash_report_id_file", |
| 81 "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto", |
| 82 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 83 }, |
| 84 "name": "start cloudtail", |
| 85 "stdout": "/path/to/tmp/" |
| 86 }, |
| 87 { |
| 88 "cmd": [ |
| 89 "python", |
| 90 "-u", |
74 "[CACHE]/cipd/goma/goma_ctl.py", | 91 "[CACHE]/cipd/goma/goma_ctl.py", |
75 "stop" | 92 "stop" |
76 ], | 93 ], |
77 "env": { | 94 "env": { |
78 "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", |
79 "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto", | 96 "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto", |
80 "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" |
81 }, | 98 }, |
82 "name": "stop_goma" | 99 "name": "stop_goma" |
83 }, | 100 }, |
(...skipping 14 matching lines...) Expand all Loading... |
98 "--goma-stats-file", | 115 "--goma-stats-file", |
99 "build_data_dir/goma_stats_proto", | 116 "build_data_dir/goma_stats_proto", |
100 "--goma-crash-report-id-file", | 117 "--goma-crash-report-id-file", |
101 "build_data_dir/crash_report_id_file", | 118 "build_data_dir/crash_report_id_file", |
102 "--build-data-dir", | 119 "--build-data-dir", |
103 "build_data_dir" | 120 "build_data_dir" |
104 ], | 121 ], |
105 "name": "upload_log" | 122 "name": "upload_log" |
106 }, | 123 }, |
107 { | 124 { |
| 125 "cmd": [ |
| 126 "python", |
| 127 "-u", |
| 128 "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", |
| 129 "stop", |
| 130 "--killed-pid", |
| 131 "12345" |
| 132 ], |
| 133 "name": "stop cloudtail" |
| 134 }, |
| 135 { |
108 "name": "$result", | 136 "name": "$result", |
109 "recipe_result": null, | 137 "recipe_result": null, |
110 "status_code": 0 | 138 "status_code": 0 |
111 } | 139 } |
112 ] | 140 ] |
OLD | NEW |