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

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

Issue 2237403002: Add cloudtail start/stop in recipe_modules/goma (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: remove a try-finally 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[depot_tools::cipd]\\resources\\bootstrap.py", 10 "RECIPE_MODULE[depot_tools::cipd]\\resources\\bootstrap.py",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 ], 62 ],
63 "env": { 63 "env": {
64 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 64 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
65 }, 65 },
66 "name": "start_goma" 66 "name": "start_goma"
67 }, 67 },
68 { 68 {
69 "cmd": [ 69 "cmd": [
70 "python", 70 "python",
71 "-u", 71 "-u",
72 "RECIPE_MODULE[build::goma]\\resources\\cloudtail_utils.py",
73 "start",
74 "--cloudtail-path",
75 "C:\\infra-tools\\cloudtail"
76 ],
77 "env": {
78 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
79 },
80 "name": "start cloudtail",
81 "stdout": "/path/to/tmp/"
82 },
83 {
84 "cmd": [
85 "python",
86 "-u",
72 "[CACHE]\\cipd\\goma\\goma_ctl.py", 87 "[CACHE]\\cipd\\goma\\goma_ctl.py",
73 "stop" 88 "stop"
74 ], 89 ],
75 "env": { 90 "env": {
76 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 91 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
77 }, 92 },
78 "name": "stop_goma" 93 "name": "stop_goma"
79 }, 94 },
80 { 95 {
81 "cmd": [ 96 "cmd": [
82 "python", 97 "python",
83 "-u", 98 "-u",
84 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\upload_goma_logs.py", 99 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\upload_goma_logs.py",
85 "--upload-compiler-proxy-info" 100 "--upload-compiler-proxy-info"
86 ], 101 ],
87 "name": "upload_log" 102 "name": "upload_log"
88 }, 103 },
89 { 104 {
105 "cmd": [
106 "python",
107 "-u",
108 "RECIPE_MODULE[build::goma]\\resources\\cloudtail_utils.py",
109 "stop",
110 "--killed-pid",
111 "12345"
112 ],
113 "name": "stop cloudtail"
114 },
115 {
90 "name": "$result", 116 "name": "$result",
91 "recipe_result": null, 117 "recipe_result": null,
92 "status_code": 0 118 "status_code": 0
93 } 119 }
94 ] 120 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698