Index: scripts/slave/recipe_modules/goma/example.expected/win_upload_logs.json |
diff --git a/scripts/slave/recipe_modules/goma/example.expected/win.json b/scripts/slave/recipe_modules/goma/example.expected/win_upload_logs.json |
similarity index 69% |
copy from scripts/slave/recipe_modules/goma/example.expected/win.json |
copy to scripts/slave/recipe_modules/goma/example.expected/win_upload_logs.json |
index dbf058258260c13dfeb78736156a28082af8e792..1d1bac06bf87e1f676c11d79f932f9beef0dbc49 100644 |
--- a/scripts/slave/recipe_modules/goma/example.expected/win.json |
+++ b/scripts/slave/recipe_modules/goma/example.expected/win_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": "C:\\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": "C:\\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 |