Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: scripts/slave/recipe_modules/goma/example.expected/linux.json

Issue 2207273003: Implement upload_logs() in recipe_modules/goma (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/goma/example.expected/linux.json
diff --git a/scripts/slave/recipe_modules/goma/example.expected/linux.json b/scripts/slave/recipe_modules/goma/example.expected/linux.json
index cc706a41906e27aa0f788e546d4b536b52902299..24c18828d6a7760ef9952971d7624bcf3a0e604a 100644
--- a/scripts/slave/recipe_modules/goma/example.expected/linux.json
+++ b/scripts/slave/recipe_modules/goma/example.expected/linux.json
@@ -61,6 +61,8 @@
"restart"
],
"env": {
+ "GOMACTL_CRASH_REPORT_ID_FILE": "/tmp/build_data_dir/crash_report_id_file",
+ "GOMA_DUMP_STATS_FILE": "/tmp/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,29 @@
"[CACHE]/cipd/goma/goma_ctl.py",
"stop"
],
+ "env": {
+ "GOMACTL_CRASH_REPORT_ID_FILE": "/tmp/build_data_dir/crash_report_id_file",
+ "GOMA_DUMP_STATS_FILE": "/tmp/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",
+ "upload_goma_logs.py",
+ "--upload-compiler-proxy-info",
+ "--goma-stats-file",
+ "/tmp/build_data_dir/goma_stats_proto",
+ "--goma-crash-report-id-file",
+ "/tmp/build_data_dir/crash_report_id_file",
+ "--build-data-dir",
+ "/tmp/build_data_dir"
+ ],
+ "name": "upload_log"
+ },
+ {
"name": "$result",
"recipe_result": null,
"status_code": 0

Powered by Google App Engine
This is Rietveld 408576698