Implement named caches in swarming. Design: https://docs.google.com/document/d/14DRgukS4rT3OvCoSlyZ3s2drszjZ6AU6ryL8kI6myYY/edit#
The following revision refers to this bug: https://chromium.googlesource.com/external/github.com/luci/luci-py.git/+/b90210628f1998818b9e2acde5e385ef33708322 commit b90210628f1998818b9e2acde5e385ef33708322 Author: nodir <nodir@chromium.org> Date: Wed Oct 12 19:17:39 2016 run_isolated: rename cache to isolate_cache This is preparation for named caches R=maruel@chromium.org BUG= 654562 Review-Url: https://codereview.chromium.org/2411683003 [modify] https://crrev.com/b90210628f1998818b9e2acde5e385ef33708322/client/run_isolated.py
The following revision refers to this bug: https://chromium.googlesource.com/external/github.com/luci/luci-py.git/+/c40ca4d446515a4a97cdfac59a6aa3a1e3b0a781 commit c40ca4d446515a4a97cdfac59a6aa3a1e3b0a781 Author: nodir <nodir@chromium.org> Date: Tue Oct 18 23:37:28 2016 LRUDict: add timestamps lru.LRUDict currently stores the order of items, but not time when an item was used most recently. Add timestamps to LRUDict internal representation and update persistence format. Preserve ability to load a dict from the old format for backward compatibility. Also remove lru.LRUDict.batch_insert_oldest because it complicates this CL. It wasn't used. R=maruel@chromium.org BUG= 654562 Review-Url: https://codereview.chromium.org/2409103003 [modify] https://crrev.com/c40ca4d446515a4a97cdfac59a6aa3a1e3b0a781/client/isolateserver.py [modify] https://crrev.com/c40ca4d446515a4a97cdfac59a6aa3a1e3b0a781/client/tests/isolateserver_test.py [modify] https://crrev.com/c40ca4d446515a4a97cdfac59a6aa3a1e3b0a781/client/tests/lru_test.py [modify] https://crrev.com/c40ca4d446515a4a97cdfac59a6aa3a1e3b0a781/client/utils/lru.py
The following revision refers to this bug: https://chromium.googlesource.com/external/github.com/luci/luci-py.git/+/ed96c0ce2b879ac532796c2433a2b538de59a7b5 commit ed96c0ce2b879ac532796c2433a2b538de59a7b5 Author: nodir <nodir@chromium.org> Date: Thu Oct 20 02:09:06 2016 run_isolated: rename cache to isolate_cache this change should have been part of https://codereview.chromium.org/2411683003 R=maruel@chromium.org BUG= 654562 Review-Url: https://chromiumcodereview.appspot.com/2434133003 [modify] https://crrev.com/ed96c0ce2b879ac532796c2433a2b538de59a7b5/client/run_isolated.py
The following revision refers to this bug: https://chromium.googlesource.com/external/github.com/luci/luci-py.git/+/feb2aa3fd5b344c44ba67fdc1cd58906bb8d1ec7 commit feb2aa3fd5b344c44ba67fdc1cd58906bb8d1ec7 Author: nodir <nodir@chromium.org> Date: Thu Oct 27 19:48:07 2016 swarming: display named caches in task UI Update both old and new UI R=kjlubick@chromium.org, maruel@chromium.org BUG= 654562 Review-Url: https://codereview.chromium.org/2459693002 [modify] https://crrev.com/feb2aa3fd5b344c44ba67fdc1cd58906bb8d1ec7/appengine/swarming/templates/user_task.html [modify] https://crrev.com/feb2aa3fd5b344c44ba67fdc1cd58906bb8d1ec7/appengine/swarming/ui/build/elements.html [modify] https://crrev.com/feb2aa3fd5b344c44ba67fdc1cd58906bb8d1ec7/appengine/swarming/ui/res/imp/taskpage/task-page.html
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra.git/+/a199adce2905a2ec4c708332ea43aeba64899a59 commit a199adce2905a2ec4c708332ea43aeba64899a59 Author: Nodir Turakulov <nodir@chromium.org> Date: Fri Oct 28 06:21:20 2016 swarmbucket: add support for swarming named caches Extend config proto to support "caches" field. Validate it. Include in the swarming task definition. Improve code merging cipd packages defined in the template and the builder: if they define different versions for the same package, builder wins. R=vadimsh@chromium.org BUG= 654562 Change-Id: Ic0f659f6ede9379f879d9eec5c5311015fd95eb7 Reviewed-on: https://chromium-review.googlesource.com/404494 Commit-Queue: Nodir Turakulov <nodir@chromium.org> Reviewed-by: Vadim Shtayura <vadimsh@chromium.org> [modify] https://crrev.com/a199adce2905a2ec4c708332ea43aeba64899a59/appengine/cr-buildbucket/proto/project_config.proto [modify] https://crrev.com/a199adce2905a2ec4c708332ea43aeba64899a59/appengine/cr-buildbucket/proto/project_config_pb2.py [modify] https://crrev.com/a199adce2905a2ec4c708332ea43aeba64899a59/appengine/cr-buildbucket/swarming/swarming.py [modify] https://crrev.com/a199adce2905a2ec4c708332ea43aeba64899a59/appengine/cr-buildbucket/swarming/swarmingcfg.py [modify] https://crrev.com/a199adce2905a2ec4c708332ea43aeba64899a59/appengine/cr-buildbucket/swarming/test/swarming_test.py [modify] https://crrev.com/a199adce2905a2ec4c708332ea43aeba64899a59/appengine/cr-buildbucket/swarming/test/swarmingcfg_test.py
Comment 1 by bugdroid1@chromium.org
, Oct 12 2016