tree: df3b6bef821ed7d376bc4efafc933ad376d0cebd [path history] [tgz]
  1. .gitignore
  2. Dockerfile
  3. Makefile
  4. README.md
  5. builders.go
  6. builders_test.go
  7. coordinator.go
  8. coordinator_test.go
  9. dash.go
  10. debug.go
  11. deployment-prod.yaml
  12. deployment-staging.yaml
  13. internal/
  14. log.go
  15. metrics.go
  16. modproxy.go
  17. modproxy_test.go
  18. module-proxy-service.yaml
  19. protos/
  20. remote.go
  21. remote_test.go
  22. results.go
  23. results_test.go
  24. sched.go
  25. sched_test.go
  26. service-prod.yaml
  27. service-staging.yaml
  28. status.go
  29. status_test.go
  30. style.css
  31. trybot_dev.go
  32. 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 -env=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.

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.