Index: scripts/slave/recipe_modules/goma/example.expected/mac_upload_logs.json |
diff --git a/scripts/slave/recipe_modules/goma/example.expected/mac.json b/scripts/slave/recipe_modules/goma/example.expected/mac_upload_logs.json |
similarity index 69% |
copy from scripts/slave/recipe_modules/goma/example.expected/mac.json |
copy to scripts/slave/recipe_modules/goma/example.expected/mac_upload_logs.json |
index e35085846c0a1983842557c18f8bd10670b48a8d..82427eb3ab46c1bedd19d161c92d98ef908fdc55 100644 |
--- a/scripts/slave/recipe_modules/goma/example.expected/mac.json |
+++ b/scripts/slave/recipe_modules/goma/example.expected/mac_upload_logs.json |
@@ -61,6 +61,8 @@ |
"restart" |
], |
"env": { |
+ "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir/crash_report_id_file", |
+ "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto", |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
}, |
"name": "start_goma" |
@@ -72,9 +74,37 @@ |
"[CACHE]/cipd/goma/goma_ctl.py", |
"stop" |
], |
+ "env": { |
+ "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir/crash_report_id_file", |
+ "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto", |
+ "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
+ }, |
"name": "stop_goma" |
}, |
{ |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
+ "--upload-compiler-proxy-info", |
+ "--ninja-log-outdir", |
+ "build_data_dir", |
+ "--ninja-log-compiler", |
+ "goma", |
+ "--ninja-log-command", |
+ "ninja -j 500", |
+ "--ninja-log-exit-status", |
+ "0", |
+ "--goma-stats-file", |
+ "build_data_dir/goma_stats_proto", |
+ "--goma-crash-report-id-file", |
+ "build_data_dir/crash_report_id_file", |
+ "--build-data-dir", |
+ "build_data_dir" |
+ ], |
+ "name": "upload_log" |
+ }, |
+ { |
"name": "$result", |
"recipe_result": null, |
"status_code": 0 |