Expose mirrored builders as an output property

Exposes the list of builders that mirror a particular CI builder as an
output property, which is a list of strings. Strings are in a
"group:builder" format.

This is intended to be used to be able to programatically determine
which trybots need to be queried for ResultDB data given some list of
CI builders, but could also be potentially useful to users by allowing
them to see which trybots mirror a particular builder without having to
look at the trybot mapping.

Bug: 1145293
Change-Id: I33153b81929910cc11586382770cec63163b032f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2518663
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Garrett Beaty <gbeaty@chromium.org>
59 files changed
tree: c0293f41c9ad5cb328c1b6614ff48181bb9e2e67
  1. infra/
  2. recipes/
  3. scripts/
  4. site_config/
  5. third_party/
  6. .gitattributes
  7. .gitignore
  8. .style.yapf
  9. .vpython
  10. .yapfignore
  11. codereview.settings
  12. CROS_OWNERS
  13. DEPS
  14. environment.cfg.py
  15. LICENSE
  16. OWNERS
  17. PRESUBMIT.py
  18. README.md
  19. WATCHLISTS
README.md

Recipes

If you're here to make a change to ‘recipes’ (the code located in scripts/slave/recipes*), please take a look at the README for more information pertaining to recipes.

Style

The preferred style is PEP8 with two-space indent; that is, the Chromium Python style. Functions use lowercase_with_underscores, with the exception of the special functions RunSteps and RunTests in recipes. Use yapf (git cl format --no-clang-format) to autoformat new code.