commit | 12c9174acaf00fbe7e0513abb726390dcbfcfe78 | [log] [tgz] |
---|---|---|
author | Kendal Harland <kjharland@google.com> | Thu May 23 09:58:59 2019 -0700 |
committer | Kendal Harland <kjharland@google.com> | Fri May 24 08:39:36 2019 -0700 |
tree | 1abb074a5c2db5beaff286b72cd5e69072f401ce | |
parent | 04e4ca4b69cd113a9098996e33c8f967a8f31dbf [diff] |
[build_init] Refactor checkout to make testing easier. * Infer the path to git from current PATH instead of using a flag * infra.py will set this for testing * We can wrap this in a shell script on Buildbucket when the day comes * This makes testing easier. * pkg executable -> execution * Add Executor to reduce boilerplate. * Add Checkout() fn and make everything else package private. Bug: IN-1102 #comment Change-Id: I50c7963da55b800ce07f46cc73618e60a27307c4
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}