[artifacts] Remove dependence on go.fuchsia.dev/fuchsia/tools.

Also add some missing Close() statements.

Bug: 62512
Change-Id: I01c5983a8901e9cf87b8401843ecdd81bb948b51
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/441545
Reviewed-by: Marc-Antoine Ruel <maruel@google.com>
Commit-Queue: Marc-Antoine Ruel <maruel@google.com>
2 files changed
tree: 62f94abb5acc8f509db40c6f3e068fe5b1896e08
  1. artifacts/
  2. buildbucket/
  3. cmd/
  4. digest/
  5. gerrit/
  6. gitiles/
  7. gotidy/
  8. third_party/
  9. .gitignore
  10. AUTHORS
  11. go.mod
  12. go.sum
  13. LICENSE
  14. MAINTAINERS
  15. manifest
  16. PATENTS
  17. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.

In order to build the Go code, you must clone this repo into an appropriately named directory. This should do the trick:

REPO=fuchsia.googlesource.com/infra/infra
git clone https://${REPO} $(go env GOPATH)/src/${REPO}