Building, running tests, running locally is supported on Linux and macOS only.
Run
go run golang.org/x/build/cmd/coordinator -mode=dev
to start a server on https://localhost:8119. Proceed past the TLS warning and you should get the homepage. Some features won't work when running locally, but you should be able to navigate between the homepage, the dashboard, the builders page, and do limited local development and testing.
To test builds locally, start a host-linux-amd64-localdev
reverse buildlet, which will run linux-amd64
tests:
go run golang.org/x/build/cmd/buildlet -halt=false -reverse-type=host-linux-amd64-localdev
To view/modify the “Trybot Status” page locally, you can run the coordinator with the -dev
tag.
go run -tags=dev golang.org/x/build/cmd/coordinator -mode=dev -env=dev
Then visit https://localhost:8119/try-dev in your browser. You should see a trybot status page with some example data.