commit | 7c3945fc31027beddbc8d6a57e9e8cf167a088cf | [log] [tgz] |
---|---|---|
author | Anthony Fandrianto <atyfto@google.com> | Thu Nov 14 15:51:31 2019 -0800 |
committer | Anthony Fandrianto <atyfto@google.com> | Sat Nov 16 00:07:57 2019 +0000 |
tree | da52f9c3d0d1b926223a0997c48bdd5632f004e8 | |
parent | 5facaf7e0bd0cbd990de85136820157aac3bcad4 [diff] |
[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
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}