[recipe_bootstrap] Refactor stepRunner interface usage

This is a refactoring centered around the stepRunner
interface to enable better test mocks.

1) The implementation of stepRunner, bootstrapStepRunner,
   is moved from step.go into main.go, and bootstrapRecipe
   now takes a stepRunner.
2) The implementation of stepFuncs is moved from bootstrap.go
   to main.go.

Bug: 40139
Change-Id: I6a0e549b20c7b2314edd047cae9155b722fcf24f
5 files changed
tree: da52f9c3d0d1b926223a0997c48bdd5632f004e8
  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}