[recipe_bootstrap] Wrap recipes bundle resolution in Steps

Currently this attaches two steps to build.Steps, one
for each of "resolve checkout" and "resolve recipe bundle".
If a step has an error, the step will be colored purple,
and the error will be surfaced in a stderr step log.
Otherwise, the step will be colored green.

This moves pre-invoke code into two stepFuncs, and
adds step.go which implements logic to wrap stepFuncs as
Steps.

Bug: 40139

Change-Id: Ice5c7fbb60a05962281b1a1239c732fc56f7d3df
6 files changed
tree: 915913a525ae1ccdef4da357a2879bd8ed69a28c
  1. artifacts/
  2. buildbucket/
  3. cmd/
  4. digest/
  5. gotidy/
  6. secrets/
  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}