[botanist] Introduce Target interface

This change introduces the Target interface, for which both QEMUTarget
and DeviceTarget are implementations. `botanist run` is modified to deal
abstractly with a Target (possibly a QEMU instance).

Test: ran locally with a QEMU config, as well as against my NUC.

Change-Id: Iba0e6b1c23925c7560fa02445ea76985a4989791
8 files changed
tree: 74e83d234ca688ed490e65fb709f25ddfa901a89
  1. artifacts/
  2. bloaty/
  3. botanist/
  4. build/
  5. buildbucket/
  6. cache/
  7. cmd/
  8. color/
  9. command/
  10. digest/
  11. elflib/
  12. fastboot/
  13. gcs/
  14. gndoc/
  15. isatty/
  16. logger/
  17. mdns/
  18. netboot/
  19. netutil/
  20. ninjalog/
  21. qemu/
  22. resultstore/
  23. retry/
  24. runner/
  25. runtests/
  26. secrets/
  27. serial/
  28. sshutil/
  29. symbolize/
  30. tap/
  31. telnet/
  32. testrunner/
  33. testsharder/
  34. tftp/
  35. .gitignore
  36. go.mod
  37. go.sum
  38. LICENSE
  39. manifest
  40. PATENTS
  41. 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"