coordinator

command
v0.0.0-...-80a9e2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: BSD-3-Clause Imports: 87 Imported by: 0

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: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.

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 at the root of the x/build repo.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL