Refactor ios.collect() in preparation for migration to chromium_tests.

This CL is a refactor with no intended behavior change. It pulls out a new
method collect_task which does not depend on any state on the ios recipe_module.

Tested via LED at:
https://chromium-swarm.appspot.com/task?id=442ca3f729547010

Bug: 951182
Change-Id: I72f94867824b1af31d540c727b2433ca075e775b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/1566575
Commit-Queue: Erik Chen <erikchen@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
2 files changed
tree: 2ee34154dc673e9d7a7e95f37cec5cdd58ea65aa
  1. infra/
  2. masters/
  3. scripts/
  4. site_config/
  5. slave/
  6. tests/
  7. third_party/
  8. .gitattributes
  9. .gitignore
  10. .vpython
  11. codereview.settings
  12. DEPS
  13. environment.cfg.py
  14. LICENSE
  15. OWNERS
  16. PRESUBMIT.py
  17. README.md
  18. WATCHLISTS
README.md

build

Hi build contributor! If you do any change in scripts/master/ or touching any master's html/ directories, you must restart master.chromium.fyi first and ensure that it still works before restarting other masters.

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.