coordinator
commandThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
README¶
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:8080Then visithttp://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 ahost-linux-amd64-localdev reverse buildlet,which will runlinux-amd64 tests:
go run golang.org/x/build/cmd/buildlet -halt=false -reverse-type=host-linux-amd64-localdevTo 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 ondeployment.
Documentation¶
Overview¶
The coordinator runs the majority of the Go build system.
It is responsible for finding build work, executing it,and displaying the results.
For an overview of the Go build system, see the README atthe root of the x/build repo.
Source Files¶
Directories¶
| Path | Synopsis |
|---|---|
internal | |
dashboard Package dashboard contains the implementation of the build dashboard for the Coordinator. | Package dashboard contains the implementation of the build dashboard for the Coordinator. |
legacydash Package legacydash holds the serving code for the build dashboard (build.golang.org) and its remaining HTTP API endpoints. | Package legacydash holds the serving code for the build dashboard (build.golang.org) and its remaining HTTP API endpoints. |
lucipoll Package lucipoll implements a simple polling LUCI client for the possibly-short-term needs of the build dashboard. | Package lucipoll implements a simple polling LUCI client for the possibly-short-term needs of the build dashboard. |