Refactor swarming create_task

Adds a common create task which is used by both
SwarmingIsolatedScriptTest and SwarmingGTestTest. There was a lot of
code duplication previously.

Bug: 883150
Change-Id: I8a3b9e3fd8de56c752a3f23badcbd97ccf252e9c
Reviewed-on: https://chromium-review.googlesource.com/c/1361883
Reviewed-by: Garrett Beaty <gbeaty@chromium.org>
Commit-Queue: Stephen Martinis <martiniss@chromium.org>
6 files changed
tree: fa4427faf2279d23f93e206a79ec459467a0ecd7
  1. .gitattributes
  2. .gitignore
  3. .vpython
  4. DEPS
  5. LICENSE
  6. OWNERS
  7. PRESUBMIT.py
  8. README.md
  9. WATCHLISTS
  10. codereview.settings
  11. environment.cfg.py
  12. infra/
  13. masters/
  14. scripts/
  15. site_config/
  16. slave/
  17. tests/
  18. third_party/
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.