[artifacts] Refactor to enforce a new GCS layout

We need to use this package to upload test logs from the
testrunner, and to locate them when uploading data to
ResultStore.  This change updates the artifacts package
to adhere to a specific layout, so that all CloudStorage
clients can consume this package (through some CLI or as
source) and write or read to and from Cloud Storage in
the exact same way.  We will update our infra recipes to
use this library to upload to GCS.

IN-888 #comment

TEST=ran the commands in artifacts/main.go by hand

Change-Id: If9b9e5443d5eebb733c295104cdab52d3d34ad09
8 files changed
tree: b63cd5e10cb7f0a1e762c188637a08881ecdf168
  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"