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

Unified Diff: scripts/slave/recipe_modules/goma/example.expected/linux.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/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 e06d461f3639d09fd6dfedfebe5233cc898ea4ce..970bb79a4d9b1f944df73521a7f4b8c05ea02d50 100644
--- a/scripts/slave/recipe_modules/goma/example.expected/linux.json
+++ b/scripts/slave/recipe_modules/goma/example.expected/linux.json
@@ -69,6 +69,23 @@
"cmd": [
"python",
"-u",
+ "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py",
+ "--start-cloudtail",
+ "--cloudtail-path",
+ "/opt/infra-tools/cloudtail",
+ "--log-id",
+ "goma_compiler_proxy"
+ ],
+ "env": {
+ "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/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