package build
import "golang.org/x/build"
Package build contains constants for the Go continuous build system.
Index ¶
Constants ¶
const DevCoordinatorCA = "" /* 957 byte string literal not displayed */
DevCoordinatorCA is the cert used by the coordinator and buildlet in development mode. (Not to be confused with the staging "dev" instance under GCE project "go-dashboard-dev")
const DevCoordinatorKey = "" /* 1676 byte string literal not displayed */
DevCoordinatorKey is the key used by the coordinator and buildlet in development mode. (Not to be confused with the staging "dev" instance under GCE project "go-dashboard-dev")
const ProdCoordinatorCA = "" /* 1116 byte string literal not displayed */
ProdCoordinatorCA is the production CA cert for farmer.golang.org.
const StagingCoordinatorCA = "" /* 1075 byte string literal not displayed */
StagingCoordinatorCA is the cert used on GCE for the go-dashboard-dev project.
Types ¶
type CoordinatorInstance ¶
type CoordinatorInstance string
CoordinatorInstance is either "prod", "staging", or "localhost:<port>".
const ( ProdCoordinator CoordinatorInstance = "prod" StagingCoordinator CoordinatorInstance = "staging" )
func (CoordinatorInstance) CACert ¶
func (ci CoordinatorInstance) CACert() string
CACert returns the public certificate of the CA used to sign this coordinator instance's certificate.
func (CoordinatorInstance) TLSDialer ¶
func (ci CoordinatorInstance) TLSDialer() func(network, addr string) (net.Conn, error)
func (CoordinatorInstance) TLSHostPort ¶
func (ci CoordinatorInstance) TLSHostPort() (string, error)
Source Files ¶
build.go update-protos.go
Directories ¶
Path | Synopsis |
---|---|
autocertcache | Package autocertcache contains autocert.Cache implementations for golang.org/x/crypto/autocert. |
buildenv | Package buildenv contains definitions for the environments the Go build system can run in. |
buildlet | Package buildlet contains client tools for working with a buildlet server. |
cmd | |
cmd/bootstrapswarm | bootstapswarm will bootstrap the swarming bot depending on the environment that it is run on. |
cmd/buildlet | The buildlet is an HTTP server that untars content to disk and runs commands it has untarred, streaming their output back over HTTP. |
cmd/buildlet/stage0 | The stage0 command looks up the buildlet's URL from its environment (GCE metadata service, EC2, etc), downloads it, and runs it. |
cmd/buildlet/testssh | The testssh binary exists to verify that a buildlet container's ssh works, without running the whole coordinator binary in the staging environment. |
cmd/buildstats | The buildstats command syncs build logs from Datastore to Bigquery. |
cmd/coordinator | The coordinator runs the majority of the Go build system. |
cmd/coordinator/internal | |
cmd/coordinator/protos | |
cmd/debugnewvm | The debugnewvm command creates and destroys a VM-based buildlet with lots of logging for debugging. |
cmd/docker2boot | The docker2boot command converts a Docker image into a bootable GCE VM image. |
cmd/fetchlogs | Fetchlogs downloads build failure logs from the Go dashboard so they can be accessed and searched from the local file system. |
cmd/genbootstrap | Genbootstrap prepares GOROOT_BOOTSTRAP tarballs suitable for use on builders. |
cmd/genbotcert | Command genbotcert can both generate a CSR and private key for a LUCI bot and generate a certificate from a CSR. |
cmd/genbuilderkey | The genbuilderkey binary generates a builder key or gomote user key from the build system's master key. |
cmd/gerritbot | The gerritbot binary converts GitHub Pull Requests to Gerrit Changes, updating the PR and Gerrit Change as appropriate. |
cmd/gerritbot/internal | |
cmd/gitmirror | The gitmirror binary watches the specified Gerrit repositories for new commits and syncs them to mirror repositories. |
cmd/gomote | The gomote command is a client for the Go builder infrastructure. |
cmd/gomoteserver | |
cmd/gopherbot | The gopherbot command runs Go's gopherbot role account on GitHub and Gerrit. |
cmd/gorebuild | Gorebuild rebuilds and verifies the distribution files posted at https://go.dev/dl/. |
cmd/greplogs | Command greplogs searches Go builder logs. |
cmd/greplogs/_embed | Command broken lists the current Go builders with known issues. |
cmd/greplogs/internal | |
cmd/makemac | Command makemac manages MacService instances for LUCI. |
cmd/perfrun | perfrun interacts with the buildlet coordinator to run the go1 benchmarks on a buildlet follower for the most recent successful commits according to the build dashboard. |
cmd/pubsubhelper | The pubsubhelper is an SMTP server for Gerrit updates and an HTTP server for Github webhook updates. |
cmd/pubsubhelper/pubsubtypes | Package pubsubtypes contains types published by pubsubhelper. |
cmd/racebuild | racebuild builds the race runtime (syso files) on all supported OSes using gomote. |
cmd/releaseschedule | Releaseschedule generates the release schedule diagram used on the release schedule wiki. |
cmd/relnote | The relnote command works with release notes. |
cmd/relui | relui is a web interface for managing the release process of Go. |
cmd/retrybuilds | The retrybuilds command reruns requested builds for the Go project on the LUCI infrastructure. |
cmd/rundockerbuildlet | The rundockerbuildlet command loops forever and creates and cleans up Docker containers running reverse buildlets. |
cmd/runqemubuildlet | Binary runqemubuildlet runs a single VM-based buildlet in a loop. |
cmd/updatestd | updatestd is an experimental program that has been used to update the standard library modules as part of golang.org/issue/36905 in CL 255860 and CL 266898. |
cmd/upload | The upload command writes a file to Google Cloud Storage. |
cmd/watchflakes | Watchflakes is a program that triages apparent test flakes on the build.golang.org dashboards. |
cmd/watchflakes/internal | |
cmd/xb | The xb command wraps GCP deployment commands such as gcloud, kubectl, and docker push and verifies they're interacting with the intended prod-vs-staging environment. |
dashboard | Package dashboard contains shared configuration and logic used by various pieces of the Go continuous build system. |
devapp | Devapp is the server running dev.golang.org. |
devapp/owners | |
env | |
env/corellium | |
env/corellium/android | |
env/corellium/android/files | |
env/windows-arm64 | |
env/windows-arm64/azure | |
gerrit | Package gerrit contains code to interact with Gerrit servers. |
influx | This program runs in the InfluxDB container, performs initial setup of the database, and publishes access secrets to secret manager. |
internal | |
kubernetes | Package kubernetes contains a minimal client for the Kubernetes API. |
kubernetes/api | Package api contains the Kubernetes v1 API types. |
kubernetes/gke | Package gke contains code for interacting with Google Container Engine (GKE), the hosted version of Kubernetes on Google Cloud Platform. |
livelog | Package livelog provides a buffer that can be simultaneously written to by one writer and read from by many readers. |
maintner | Package maintner mirrors, searches, syncs, and serves Git, Github, and Gerrit metadata. |
maintner/godata | Package godata loads the Go project's corpus of Git, Github, and Gerrit activity into memory to allow easy analysis without worrying about APIs and their pagination, quotas, and other nuisances and limitations. |
maintner/internal | |
maintner/maintnerd | The maintnerd command serves project maintainer data from Git, Github, and/or Gerrit. |
maintner/maintnerd/apipb | |
maintner/maintnerd/gcslog | Package gcslog is an implementation of maintner.MutationSource and Logger for Google Cloud Storage. |
maintner/maintnerd/maintapi | Package maintapi exposes a gRPC maintner service for a given corpus. |
maintner/maintnerd/maintapi/version | Package version implements logic to parse version of Go tags and release branches. |
maintner/maintpb | |
maintner/maintq | The maintq command queries a maintnerd gRPC server. |
maintner/maintwatch | The maintwatch commands tails the maintner mutation log. |
maintner/reclog | Package reclog contains readers and writers for a record wrapper format used by maintner. |
pargzip | Package pargzip contains a parallel gzip writer implementation. |
perf | perf runs an HTTP server for benchmark analysis. |
perf/app | Package app implements the performance data analysis server. |
perf/app/internal | |
perfdata | Package perfdata contains a client for the performance data storage server. |
perfdata/app | Package app implements the performance data storage server. |
perfdata/appengine | This binary contains an App Engine app for perfdata.golang.org |
perfdata/db | Package db provides the high-level database interface for the storage app. |
perfdata/db/dbtest | |
perfdata/db/sqlite3 | Package sqlite3 provides the sqlite3 driver for x/build/perfdata/db. |
perfdata/fs | Package fs provides a backend-agnostic filesystem layer for storing performance results. |
perfdata/fs/gcs | Package gcs implements the fs.FS interface using Google Cloud Storage. |
perfdata/fs/local | Package local implements the fs.FS interface using local files. |
perfdata/localperfdata | Localperfdata runs an HTTP server for benchmark perfdata. |
perfdata/query | Package query provides tools for parsing a query. |
relnote | Package relnote supports working with release notes. |
repos | Package repos contains information about Go source repositories. |
revdial | |
revdial/v2 | Package revdial implements a Dialer and Listener which work together to turn an accepted connection (for instance, a Hijacked HTTP request) into a Dialer which can then create net.Conns connecting back to the original dialer, which then gets a net.Listener accepting those conns. |
tarutil | Package tarutil contains utilities for working with tar archives. |
third_party | |
third_party/bandchart | Package bandchart provides an embedded bandchart.js. |
types | Package types contains common types used by the Go continuous build system. |
- Version
- v0.0.0-20250421191922-3619c213cff3 (latest)
- Published
- Apr 21, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 2 months ago –
Tools for package owners.