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

Unified 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 import os 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/win.json
diff --git a/scripts/slave/recipe_modules/goma/example.expected/win.json b/scripts/slave/recipe_modules/goma/example.expected/win.json
index 973ae2ea4e7a48e5375a9cb7407c24754b8d71c6..9c58fd427471be3523e4b5612b1f16b5f98d2ddf 100644
--- a/scripts/slave/recipe_modules/goma/example.expected/win.json
+++ b/scripts/slave/recipe_modules/goma/example.expected/win.json
@@ -69,6 +69,23 @@
"cmd": [
"python",
"-u",
+ "RECIPE_MODULE[build::goma]\\resources\\cloudtail_utils.py",
+ "--start-cloudtail",
+ "--cloudtail-path",
+ "C:\\infra-tools\\cloudtail",
+ "--log-id",
+ "goma_compiler_proxy"
+ ],
+ "env": {
+ "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json"
+ },
+ "name": "start cloudtail",
+ "stdout": "/path/to/tmp/"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
"[CACHE]\\cipd\\goma\\goma_ctl.py",
"stop"
],
@@ -81,6 +98,16 @@
"cmd": [
"python",
"-u",
+ "RECIPE_MODULE[build::goma]\\resources\\cloudtail_utils.py",
+ "--killed-pid",
+ "12345"
+ ],
+ "name": "stop cloudtail"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
"RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\upload_goma_logs.py",
"--upload-compiler-proxy-info"
],

Powered by Google App Engine
This is Rietveld 408576698