tree: 2b27a43a40195606f3025e4728e97bfea2e4c200 [path history] [tgz]
  1. internal/
  2. protos/
  3. templates/
  4. .gitignore
  5. builders.go
  6. builders_test.go
  7. buildstatus.go
  8. buildstatus_test.go
  9. cloudbuild.yaml
  10. coordinator.go
  11. coordinator_test.go
  12. dash.go
  13. debug.go
  14. deployment-prod.yaml
  15. deployment-staging.yaml
  16. Dockerfile
  17. Makefile
  18. metrics.go
  19. modproxy.go
  20. modproxy_test.go
  21. module-proxy-service.yaml
  22. queues.go
  23. queues_test.go
  24. README.md
  25. results.go
  26. results_test.go
  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

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

Running locally in dev mode

go run . -mode=dev -listen-http=localhost:8080

Then visit http://localhost:8080/ in your browser.

Some features won't work when running in dev mode, but you should be able to navigate between the homepage, the build 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

To view/modify the “Trybot Status” page locally, visit the /try-dev endpoint. You should see a trybot status page with some example data.

Deployment

See the documentation on deployment.