From 5134752ac102b78d09b5a3cd2d00dd7531421a08 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Thu, 6 Sep 2018 14:30:13 -0400 Subject: [PATCH] Add -u flag to go get command (it's less unpredictable) --- DashboardBuilders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DashboardBuilders.md b/DashboardBuilders.md index 0d0e47e0..c91dd77f 100644 --- a/DashboardBuilders.md +++ b/DashboardBuilders.md @@ -12,7 +12,7 @@ For design details about the coordinator, see https://golang.org/s/builderplan # How to set up a builder 1. talk to golang-dev@ to get a builder host type & hash (they can get one from e.g. https://build-dot-golang-org.appspot.com/key?builder=host-foo-bar), and put that in ` ~/.gobuildkey` or `~/.gobuildkey-host-foo-bar` or the file pointed to by env var `$GO_BUILD_KEY_PATH`. - 1. go get golang.org/x/build/cmd/buildlet + 1. `go get -u golang.org/x/build/cmd/buildlet` 1. Run the buildlet in a loop or under systemd: `while true; do buildlet -coordinator=farmer.golang.org -reverse-type=host-foo-bar -reboot=false; done` 1. Verify you can see the host registered at https://farmer.golang.org/#pools in the "Reverse pool machine detail" section and "Reverse pool summary". 1. Add a builder type to https://github.com/golang/build/blob/master/dashboard/builders.go (see the `addBuilder` lines). Run tests. Send the CL.