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

Unified Diff: scripts/slave/recipe_modules/goma/example.expected/win_upload_logs.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 --log-id, sleep 3 seconds 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_upload_logs.json
diff --git a/scripts/slave/recipe_modules/goma/example.expected/win_upload_logs.json b/scripts/slave/recipe_modules/goma/example.expected/win_upload_logs.json
index 44ae9681072001e329b95a796903285c3da41144..0b57c7cd323ae7f98ba292f24694b7b6fff60b75 100644
--- a/scripts/slave/recipe_modules/goma/example.expected/win_upload_logs.json
+++ b/scripts/slave/recipe_modules/goma/example.expected/win_upload_logs.json
@@ -71,6 +71,25 @@
"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": {
+ "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir\\crash_report_id_file",
+ "GOMA_DUMP_STATS_FILE": "build_data_dir\\goma_stats_proto",
+ "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"
],
@@ -85,6 +104,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",
"--ninja-log-outdir",

Powered by Google App Engine
This is Rietveld 408576698