Add optional-dimension argument to swarming

This adds an optional argument to swarming.py (--optional-dimension)
which takes the form "key value expiration".  If any optional dimension
entries are specified we will create additional task slices for them
using (key, value) as the dimension and expiration as the task
expiration value.


Bug: 871453
Change-Id: I17607786809d725341596b9c531dc1f6ee9ee689
Reviewed-on: https://chromium-review.googlesource.com/c/1269156
Commit-Queue: Brad Hall <bradhall@google.com>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
Cr-Mirrored-From: https://chromium.googlesource.com/infra/luci/luci-py
Cr-Mirrored-Commit: 6ddde54621fa69282036b1fbca6dc33d73bc6296
2 files changed
tree: 4791ce54ca90dd68611d7e266575ab36ad8c19e2
  1. example/
  2. libs/
  3. proto/
  4. tests/
  5. third_party/
  6. tools/
  7. utils/
  8. .gitignore
  9. auth.py
  10. cipd.py
  11. isolate.py
  12. isolate_format.py
  13. isolate_storage.py
  14. isolated_format.py
  15. isolateserver.py
  16. LICENSE
  17. local_caching.py
  18. LUCI_CONTEXT.md
  19. OWNERS
  20. PRESUBMIT.py
  21. README.md
  22. README.py
  23. run_isolated.py
  24. swarming.py
  25. trace_inputs.py
  26. WATCHLISTS
README.md

LUCI Python Client

This is the Python Client code for LUCI. It's part of the main python repo, and is also mirrored into a standalone client-py repo.

To contribute changes you need to clone the main python repo and then use git cl upload. The client-py repo mirror (which appears in Chromium's third_party directory) cannot be contributed to directly.

License

This project is licensed under Apache v2.0 license. See LICENSE for details.