Write directly into the kzip in package_index.py

Previously we would create a temporary directory with the structure we
wanted and then zip the whole thing up. Now we instead add files into
the kzip directly.

This should hopefully be especially beneficial on the bots, as they run
on GCE with remote disk which has very limited IOPS.

Bug: 873956
Change-Id: I73aa2886282b0fce84870838bd35d5dee88a71e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/1659870
Reviewed-by: Joey Scarr <jsca@chromium.org>
Commit-Queue: Owen Rodley <orodley@chromium.org>
2 files changed
tree: 9adda8b2ccc806bf4b85c1454dfb963820cb5a20
  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.