[lkgb] Add -gitiles-ref filter option

By default, LKGB will grab a build originating from
any gitiles ref. Some users will need to restrict
their search to a ref like "refs/heads/master".

Note using the option will adjust the search page
size, which adds some additional seconds of latency.

Usage: lkgb
       -gitiles-ref refs/heads/master
       -search-limit 20
       fuchsia/ci/fuchsia-x64-release

Bug: 36583

Change-Id: If45c57917623f4e2121a4770676b676c49cc8d85
3 files changed
tree: 45dc913e40591a113bd4c81a335f643c58a362d3
  1. artifacts/
  2. buildbucket/
  3. cmd/
  4. digest/
  5. gcs/
  6. gotidy/
  7. secrets/
  8. .gitignore
  9. AUTHORS
  10. go.mod
  11. go.sum
  12. LICENSE
  13. MAINTAINERS
  14. manifest
  15. PATENTS
  16. 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}