[cl-util] Add cl-util tool

cl-util is a tool which provides the ability to create CLs and apply
CQ+1/2 in Gerrit without requiring a local checkout.

Subcommands:
  create-cl: Create a CL, with specified file edits.
  trigger-cq: Apply CQ+1/2 label, and optionally wait on CQ to finish.

Bug: 51330
Change-Id: Ia848358255bf5f9ab27d3bdf6da488f845032ba9
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/385754
Commit-Queue: Anthony Fandrianto <atyfto@google.com>
Reviewed-by: Marc-Antoine Ruel <maruel@google.com>
10 files changed
tree: 9a95e6c18ae94272c0bfb47a9bfa4ec8d952cd50
  1. artifacts/
  2. buildbucket/
  3. cmd/
  4. devices/
  5. digest/
  6. gotidy/
  7. .gitignore
  8. AUTHORS
  9. go.mod
  10. go.sum
  11. LICENSE
  12. MAINTAINERS
  13. manifest
  14. PATENTS
  15. 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}