Documentation ¶
Overview ¶
Buildkite-agent is a small, reliable, cross-platform build runner that makes it easy to run automated builds on your own infrastructure.
Directories ¶
Path | Synopsis |
---|---|
Package agent provides the key agent components - workers, worker pool, job runner, log streamer, artifact up/downloaders, etc.
|
Package agent provides the key agent components - workers, worker pool, job runner, log streamer, artifact up/downloaders, etc. |
plugin
Package plugin provides types for managing agent plugins.
|
Package plugin provides types for managing agent plugins. |
Package api provides an API client for the Buildkite Pipelines API.
|
Package api provides an API client for the Buildkite Pipelines API. |
Package bootstrap provides management of the phases of execution of a Buildkite job.
|
Package bootstrap provides management of the phases of execution of a Buildkite job. |
integration
Package integration defines a series of integration tests for the bootstrap.
|
Package integration defines a series of integration tests for the bootstrap. |
shell
Package shell provides a cross-platform virtual shell abstraction for executing commands.
|
Package shell provides a cross-platform virtual shell abstraction for executing commands. |
Package clicommand contains the definitions of buildkite-agent subcommands.
|
Package clicommand contains the definitions of buildkite-agent subcommands. |
Package cliconfig provides a configuration file loader.
|
Package cliconfig provides a configuration file loader. |
Package env provides utilities for dealing with environment variables.
|
Package env provides utilities for dealing with environment variables. |
Package experiments provides a global registry of enabled and disabled experiments.
|
Package experiments provides a global registry of enabled and disabled experiments. |
Package hook provides management and execution of hook scripts, and the ability to capture environment variable changes caused by scripts.
|
Package hook provides management and execution of hook scripts, and the ability to capture environment variable changes caused by scripts. |
internal
|
|
agentapi
Package agentapi provides an API for interacting with the agent.
|
Package agentapi provides an API for interacting with the agent. |
socket
Package socket provides common implementations for local APIs that use HTTP over Unix domain sockets.
|
Package socket provides common implementations for local APIs that use HTTP over Unix domain sockets. |
jobapi provides an API with which to interact with and mutate the currently executing job Pronunciation: /ˈdʒɑbapi/ /joh-bah-pee/
|
jobapi provides an API with which to interact with and mutate the currently executing job Pronunciation: /ˈdʒɑbapi/ /joh-bah-pee/ |
Package logger provides a logger abstraction for writing log messages in configurable formats to different outputs, such as a console, plain text file, or a JSON file.
|
Package logger provides a logger abstraction for writing log messages in configurable formats to different outputs, such as a console, plain text file, or a JSON file. |
Package metrics provides a wrapper around Datadog metrics collection.
|
Package metrics provides a wrapper around Datadog metrics collection. |
Package mime provides an extended mapping of file extensions to MIME types.
|
Package mime provides an extended mapping of file extensions to MIME types. |
Package pool provides a worker pool that enforces an upper limit on concurrent workers.
|
Package pool provides a worker pool that enforces an upper limit on concurrent workers. |
Package process provides a helper for running and managing a subprocess.
|
Package process provides a helper for running and managing a subprocess. |
Package race can be used to tell if the race detector is enabled.
|
Package race can be used to tell if the race detector is enabled. |
Package redaction provides an efficient configurable string redactor.
|
Package redaction provides an efficient configurable string redactor. |
Package shellscript contains helpers for dealing with shell scripts.
|
Package shellscript contains helpers for dealing with shell scripts. |
Package status provides a status page handler, for exposing a summary of what the various pieces of the agent are doing.
|
Package status provides a status page handler, for exposing a summary of what the various pieces of the agent are doing. |
Package stdin provides a cross-platform method for determining if standard input is readable.
|
Package stdin provides a cross-platform method for determining if standard input is readable. |
Package system provides a way to log OS-specific platform information.
|
Package system provides a way to log OS-specific platform information. |
Package tracetools provides an abstraction across tracing systems (OpenTelemetry, DataDog).
|
Package tracetools provides an abstraction across tracing systems (OpenTelemetry, DataDog). |
Package utils provides some file- and filepath-helper functions.
|
Package utils provides some file- and filepath-helper functions. |
Package version provides the agent version strings.
|
Package version provides the agent version strings. |
Package yamltojson provides helpers for using yaml.Node, particularly a converter into JSON.
|
Package yamltojson provides helpers for using yaml.Node, particularly a converter into JSON. |
Click to show internal directories.
Click to hide internal directories.