tree: bd4668713546f470ed2a9a769630c1494e3d6f4b [path history] [tgz]
  1. buildongce/
  2. metrics/
  3. spanlog/
  4. .gitignore
  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. Dockerfile
  14. Dockerfile.0
  15. gce.go
  16. kube.go
  17. log.go
  18. Makefile
  19. metrics.go
  20. README.md
  21. remote.go
  22. remote_test.go
  23. reverse.go
  24. reverse_test.go
  25. sched.go
  26. service-prod.yaml
  27. service-staging.yaml
  28. status.go
  29. status_test.go
  30. trybot_dev.go
  31. version.sh
cmd/coordinator/README.md

Coordinator

Running locally

Run

go install golang.org/x/build/cmd/coordinator && 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 view the homepage and the builders page and do basic sanity checks.

Render the “Trybot Status” page locally

To view/modify the “Trybot Status” page locally, you can build the coordinator with the -dev tag.

go install -tags=dev golang.org/x/build/cmd/coordinator

Then start the coordinator and visit https://localhost:8119/try-dev in your browser. You should see a trybot status page with some example data.