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

Unified Diff: appengine/swarming/proto/config.proto

Issue 1946253003: swarming: refactor cipd input (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@default-isolate-server
Patch Set: fix import google.protobuf Created 4 years, 7 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: appengine/swarming/proto/config.proto
diff --git a/appengine/swarming/proto/config.proto b/appengine/swarming/proto/config.proto
index b0406e9d3254eb97587cfa82757623fcac82f5e6..4c13479dddded0c75eb97d9d54ce213f577e7fe9 100644
--- a/appengine/swarming/proto/config.proto
+++ b/appengine/swarming/proto/config.proto
@@ -20,6 +20,9 @@ message SettingsCfg {
// Configuration for swarming-isolate integration.
optional IsolateSettings isolate = 5;
+
+ // Configuration for swarming-cipd integration.
+ optional CipdSettings cipd = 6;
}
// Configuration for swarming-isolate integration.
@@ -33,3 +36,22 @@ message IsolateSettings {
// e.g. "default-gzip"
optional string default_namespace = 2;
}
+
+// Settings for Swarming-CIPD integration.
+//
+// WARNING: this message is embedded in task properties so
+// 1. Do not change field numbers
+// 2. Keep it small.
+message CipdSettings {
+ // Hostname of the cipd server, e.g. chrome-infra-packages.appspot.com.
+ optional string server_host = 1;
+
+ // Package name template for the CIPD client. MUST use ${platform} param.
+ // Will be used for https://{server_host}/_ah/api/repo/v1/client endpoint
+ // to fetch the cipd client.
+ optional string client_package_name = 2;
+
+ // Version of CIPD client to install. MUST be valid for all packages
+ // matched by client_package_name.
+ optional string client_package_version = 3;
+}

Powered by Google App Engine
This is Rietveld 408576698