[v8] Support both new and old format of swarming json

This is preparation to switch swarming client from python to go.
There are some format change in task summary json.

e.g.
exit_codes: [int] -> exit_code: int (omitted when success)
outputs: [str] -> output: str

During migration, let me support both format in this recipes.

Bug: 894045
Change-Id: Ifcf82f85933bba705c15c8099084dc9e0b69f205
Reviewed-on: https://chromium-review.googlesource.com/c/1355380
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
3 files changed
tree: 359c474a2b31a217b73a49d58083e53235ac565d
  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.