[build_init] Add a spec_revision flag to specify the revision of
the remote repo to fetch the spec from.

This will only affect fetching the spec for builds with a change for
a different repo (not the spec repo). Otherwise, it will use the
revision of the gitiles_commit associated with the build.

Bug: 37069
Change-Id: I5c3001bb7c021330c845bcf62dd21966b464d32c
7 files changed
tree: 56441306d2db2bf21e198cd5c8c05970e66a9883
  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}