[infra] Update go.mod and go.sum

In theory, it's
  go get -u -d ./...
  go mod tidy

and it's done. It has been a bit challenging for three reasons:
- The code uses go.fuchsia.dev/tools/..., which doesn't exists anymore.
- The code uses go.fuchsia.dev/fuchsia/..., which is huge and has its
  own challenges.
- The code uses go.chromium.org/luci/..., which has breaking changes
  upstream.

So I manually reverted parts of go.mod and go.sum that touched these
dependencies. With these select reverts, "go test ./..." still works.

"go mod tidy" still fails, so go.sum is not trimmed by this change. This is due
to go.chromium.org/luci that has to be updated.

Bug: 62512, 62502
Change-Id: Ic212622de1e3b96f256adc9fb70335a1e6782e7e
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/441544
Fuchsia-Auto-Submit: Marc-Antoine Ruel <maruel@google.com>
Reviewed-by: Ina Huh <ihuh@google.com>
Commit-Queue: <infra-ci-builder@fuchsia-infra.iam.gserviceaccount.com>
2 files changed
tree: 8e072b3226d507b980b6fc80e7ddaa9f725323db
  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}