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

Side by Side Diff: scripts/slave/recipe_modules/goma/example.expected/mac_upload_logs.json

Issue 2207273003: Implement upload_logs() in recipe_modules/goma (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: change for coverage 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 unified diff | Download patch
OLDNEW
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[build::cipd]/resources/bootstrap.py", 10 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 ] 54 ]
55 }, 55 },
56 { 56 {
57 "cmd": [ 57 "cmd": [
58 "python", 58 "python",
59 "-u", 59 "-u",
60 "[CACHE]/cipd/goma/goma_ctl.py", 60 "[CACHE]/cipd/goma/goma_ctl.py",
61 "restart" 61 "restart"
62 ], 62 ],
63 "env": { 63 "env": {
64 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir/crash_report_id_file",
65 "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto",
64 "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"
65 }, 67 },
66 "name": "start_goma" 68 "name": "start_goma"
67 }, 69 },
68 { 70 {
69 "cmd": [ 71 "cmd": [
70 "python", 72 "python",
71 "-u", 73 "-u",
72 "[CACHE]/cipd/goma/goma_ctl.py", 74 "[CACHE]/cipd/goma/goma_ctl.py",
73 "stop" 75 "stop"
74 ], 76 ],
77 "env": {
78 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir/crash_report_id_file",
79 "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto",
80 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
81 },
75 "name": "stop_goma" 82 "name": "stop_goma"
76 }, 83 },
77 { 84 {
85 "cmd": [
86 "python",
87 "-u",
88 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
89 "--upload-compiler-proxy-info",
90 "--ninja-log-outdir",
91 "build_data_dir",
92 "--ninja-log-compiler",
93 "goma",
94 "--ninja-log-command",
95 "ninja -j 500",
96 "--ninja-log-exit-status",
97 "0",
98 "--goma-stats-file",
99 "build_data_dir/goma_stats_proto",
100 "--goma-crash-report-id-file",
101 "build_data_dir/crash_report_id_file",
102 "--build-data-dir",
103 "build_data_dir"
104 ],
105 "name": "upload_log"
106 },
107 {
78 "name": "$result", 108 "name": "$result",
79 "recipe_result": null, 109 "recipe_result": null,
80 "status_code": 0 110 "status_code": 0
81 } 111 }
82 ] 112 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698