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

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: rebased 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
« no previous file with comments | « appengine/swarming/message_conversion.py ('k') | appengine/swarming/proto/config_pb2.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/proto/config.proto
diff --git a/appengine/swarming/proto/config.proto b/appengine/swarming/proto/config.proto
index b0406e9d3254eb97587cfa82757623fcac82f5e6..5388183e024c108387664e8fab59a57b937c64fc 100644
--- a/appengine/swarming/proto/config.proto
+++ b/appengine/swarming/proto/config.proto
@@ -20,12 +20,15 @@ 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.
message IsolateSettings {
// URL of the default isolate server to use if it is not specified in a
- // task. Must start with "https://" or "http://".
+ // task. Must start with "https://" or "http://",
// e.g. "https://isolateserver.appspot.com"
optional string default_server = 1;
@@ -33,3 +36,26 @@ message IsolateSettings {
// e.g. "default-gzip"
optional string default_namespace = 2;
}
+
+// A CIPD package.
+message CipdPackage {
+ // A template of a full CIPD package name, e.g.
+ // "infra/tools/cipd/${platform}"
+ // See also cipd.ALL_PARAMS.
+ optional string package_name = 1;
+
+ // Valid package version for all packages matched by package name.
+ optional string version = 2;
+}
+
+// Settings for Swarming-CIPD integration.
+message CipdSettings {
+ // URL of the default CIPD server to use if it is not specified in a task.
+ // Must start with "https://" or "http://",
+ // e.g. "https://chrome-infra-packages.appspot.com".
+ optional string default_server = 1;
+
+ // Package of the default CIPD client to use if it is not specified in a
+ // task.
+ optional CipdPackage default_client_package = 2;
+}
« no previous file with comments | « appengine/swarming/message_conversion.py ('k') | appengine/swarming/proto/config_pb2.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698