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

Unified Diff: appengine/swarming/swarming_rpcs.py

Issue 1939343002: swarming: change meaning of inputs_ref (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: nit Created 4 years, 8 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/swarming_rpcs.py
diff --git a/appengine/swarming/swarming_rpcs.py b/appengine/swarming/swarming_rpcs.py
index b9f61c49be939eb7e19bb2c80fd987a54a2f3060..2330be2fced2b4004038d229c86dce7584d910cd 100644
--- a/appengine/swarming/swarming_rpcs.py
+++ b/appengine/swarming/swarming_rpcs.py
@@ -90,6 +90,14 @@ class CipdPackage(messages.Message):
version = messages.StringField(2)
+class IsolatedOutputsTarget(messages.Message):
+ """Defines a target of isolated outputs."""
+ # The hostname of the isolated server to use.
+ isolatedserver = messages.StringField(2)
+ # Namespace on the isolate server.
+ namespace = messages.StringField(3)
+
+
class TaskProperties(messages.Message):
"""Important metadata about a particular task."""
command = messages.StringField(1, repeated=True)
@@ -101,6 +109,7 @@ class TaskProperties(messages.Message):
idempotent = messages.BooleanField(7)
inputs_ref = messages.MessageField(FilesRef, 8)
io_timeout_secs = messages.IntegerField(9)
+ outputs_target = messages.MessageField(IsolatedOutputsTarget, 11)
packages = messages.MessageField(CipdPackage, 10, repeated=True)

Powered by Google App Engine
This is Rietveld 408576698