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

Unified Diff: dm/api/distributor/swarming/v1/cipd.proto

Issue 2338153003: Add snapshotting for CIPD packages and dimensions to DM. (Closed)
Patch Set: Remove cleanup noise Created 4 years, 3 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: dm/api/distributor/swarming/v1/cipd.proto
diff --git a/dm/api/distributor/swarming/v1/cipd.proto b/dm/api/distributor/swarming/v1/cipd.proto
new file mode 100644
index 0000000000000000000000000000000000000000..ca53eb393487d489c476d02d7090309179890b21
--- /dev/null
+++ b/dm/api/distributor/swarming/v1/cipd.proto
@@ -0,0 +1,32 @@
+// Copyright 2016 The LUCI Authors. All rights reserved.
+// Use of this source code is governed under the Apache License, Version 2.0
+// that can be found in the LICENSE file.
+
+syntax = "proto3";
+
+package swarmingV1;
+
+message CipdPackage {
+ string name = 1;
+ string version = 2;
+}
+
+message CipdSpec {
+ // Server to use for cipd packages. Required (though it may be specified
+ // by the quest's designated distributor config). This must be
+ // scheme://<hostname>, e.g. "https://example.appspot.com". The only
+ // supported schemes are http and https.
+ string server = 1;
+
+ // Specifies the CIPD package to use for the job to obtain the actual CIPD
+ // client binary. You usually want to omit this.
+ CipdPackage client = 2;
+
+ message CipdPackages {
+ repeated CipdPackage pkg = 1;
+ }
+ // A mapping from path-to-install to a list of cipd packages to install at
+ // that location. To install packages in the root of the job, use the path
+ // ''.
+ map<string, CipdPackages> by_path = 3;
+}

Powered by Google App Engine
This is Rietveld 408576698