Chromium Code Reviews
Descriptionswarming: change meaning of inputs_ref
Currently inputs_ref implicitly specifies isolated server and namespace
for isolated outputs. The problem is that a user may need to be able to specify
them for non-isolated command.
Change the meaning of inputs_ref from "a reference to input file tree"
to "isolate server/namespace and hash of input file tree".
Now (inputs_ref is not None) does not mean there is isolated input,
but (inputs_ref and inputs_ref.isolated) does.
In bot manifest, change "inputs_ref" to "isolated" that contains
input/output settings.
Add a TODO to refactor the code and update datastore schema.
Update tests.
R=maruel@chromium.org
BUG=601022
Committed: https://github.com/luci/luci-py/commit/abdaf29b948fa7467b5f1fdaed3bfbc41a692145
Patch Set 1 #Patch Set 2 : swarming: add outputs_target to task properties #Patch Set 3 : include outputs_target in rpc->ndb conversion #Patch Set 4 : nit #Patch Set 5 : fix test #Patch Set 6 : nit #
Total comments: 4
Patch Set 7 : rebased #Patch Set 8 : removed outputs_target #Patch Set 9 : sort dict keys #
Total comments: 10
Patch Set 10 : nits #Patch Set 11 : remove FilesRef.is_ref #
Total comments: 1
Patch Set 12 : update inputs_ref checks #Patch Set 13 : improve check #Patch Set 14 : fix templates #
Messages
Total messages: 41 (20 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||