tree: 8d1057de707f5c42e0dedb76fb872e488170c309 [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
  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


Running locally

Building, running tests, running locally is supported on Linux and macOS only.


go run -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 -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 -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.