[upload_debug_symbols] speed up the uploading process

Previouse version of this tool create gcsObjectWriter for every file in
ids.txt, tried to write to it and let the precondition of DoesNotExists
preventing from uploding duplicated files. However, that approach is
time consuming.

In this newer approach, we first get a set of all the objects in the
GCS bucket, then only create objectWriter for and upload the files that
does not show up in the set.

Bug: IN-796
Change-Id: Ib0f093f2637a4bcfb24ca00be8dee0581ba9f77a
2 files changed
tree: b24e2fbc8e00bdf668915f6ef07770425a68e493
  1. artifacts/
  2. bloaty/
  3. botanist/
  4. build/
  5. buildbucket/
  6. cache/
  7. cmd/
  8. color/
  9. digest/
  10. elflib/
  11. fastboot/
  12. gcs/
  13. gndoc/
  14. isatty/
  15. logger/
  16. mdns/
  17. netboot/
  18. ninjalog/
  19. qemu/
  20. resultstore/
  21. retry/
  22. runtests/
  23. secrets/
  24. serial/
  25. symbolize/
  26. tap/
  27. telnet/
  28. testrunner/
  29. testsharder/
  30. tftp/
  31. .gitignore
  32. go.mod
  33. go.sum
  34. LICENSE
  35. manifest
  36. PATENTS
  37. README.md
README.md

tools

This repo contains tools used in Fuchsia build and development.

Go packages from here are automatically built and uploaded to CIPD and Google Storage by bots using the tools recipe. To add a tool to the build:

  • Edit the bot config.
  • Find the builder_mixins section with name: "tools".
  • Edit the JSON in properties_j to add a string to the packages list:
"fuchsia.googlesource.com/tools/cmd/your-new-tool"