tree: b2564f5488783b22e49a8b7377c2958b2353b869 [path history] [tgz]
  1. internal/
  2. protos/
  3. .gitignore
  4. builders.go
  5. builders_test.go
  6. buildstatus.go
  7. buildstatus_test.go
  8. coordinator.go
  9. coordinator_test.go
  10. dash.go
  11. debug.go
  12. deployment-prod.yaml
  13. deployment-staging.yaml
  14. Dockerfile
  15. Makefile
  16. metrics.go
  17. modproxy.go
  18. modproxy_test.go
  19. module-proxy-service.yaml
  20. README.md
  21. remote.go
  22. remote_test.go
  23. results.go
  24. results_test.go
  25. service-staging.yaml
  26. status.go
  27. status_test.go
  28. style.css
  29. trybot_dev.go
  30. version.sh
cmd/coordinator/README.md

Coordinator

Running locally

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

Render the “Trybot Status” page locally

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.