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 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 core implements core functions wrapped up in a tasty library package.
|
Package core implements core functions wrapped up in a tasty library package. |
Package env provides utilities for dealing with environment variables.
|
Package env provides utilities for dealing with environment variables. |
internal
|
|
agentapi
Package agentapi provides an API for interacting with the agent.
|
Package agentapi provides an API for interacting with the agent. |
agenthttp
Package agenthttp creates standard Go [net/http.Client]s with common config options.
|
Package agenthttp creates standard Go [net/http.Client]s with common config options. |
bkgql
package bkgql contains a client to the Buildkite GraphQL API
|
package bkgql contains a client to the Buildkite GraphQL API |
experiments
Package experiments provides a global registry of enabled and disabled experiments.
|
Package experiments provides a global registry of enabled and disabled experiments. |
job
package job provides management of the phases of execution of a Buildkite job.
|
package job provides management of the phases of execution of a Buildkite job. |
job/hook
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. |
job/integration
Package integration defines a series of integration tests for the job executor.
|
Package integration defines a series of integration tests for the job executor. |
job/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. |
mime
Package mime provides an extended mapping of file extensions to MIME types.
|
Package mime provides an extended mapping of file extensions to MIME types. |
osutil
Package osutil provides some OS-level helper functions.
|
Package osutil provides some OS-level helper functions. |
redact
Package redact provides functions for determining values to redact.
|
Package redact provides functions for determining values to redact. |
replacer
Package replacer provides an efficient configurable string replacer.
|
Package replacer provides an efficient configurable string replacer. |
shellscript
Package shellscript contains helpers for dealing with shell scripts.
|
Package shellscript contains helpers for dealing with shell scripts. |
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. |
stdin
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. |
system
Package system provides a way to log OS-specific platform information.
|
Package system provides a way to log OS-specific platform information. |
tempfile
package tempfile provides a way to create temporary files preserving extension and setting permissions
|
package tempfile provides a way to create temporary files preserving extension and setting permissions |
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 lock provides a client for the Agent API locking service.
|
Package lock provides a client for the Agent API locking service. |
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 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 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. |
test
|
|
Package tracetools provides an abstraction across tracing systems (OpenTelemetry, DataDog).
|
Package tracetools provides an abstraction across tracing systems (OpenTelemetry, DataDog). |
Package version provides the agent version strings.
|
Package version provides the agent version strings. |
Click to show internal directories.
Click to hide internal directories.