FreeBSD Ports

devel/buildkite-agent 3.138.0_2

Cross-platform build runner to run your own build tasks

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
APACHE20, BSD2CLAUSE, BSD3CLAUSE, LGPL3, MIT
Categories
devel, sysutils
Package size
11073.9 KiB, 44393.5 KiB installed

Description

Buildkite-agent is a small, reliable, and cross-platform build runner that makes it easy to run automated builds on your own infrastructure. Its main responsibilities are polling buildkite.com for work, running build jobs, reporting back the status code and output log of the job, and uploading the job's artifacts.

Install

As a binary package — by origin, or by package name:

pkg install devel/buildkite-agent
pkg install buildkite-agent

From the ports tree:

cd /usr/ports/devel/buildkite-agent/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	buildkite-agent>0:devel/buildkite-agent

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.138.0_13.138.0_1-3.97.0_43.138.0_1
FreeBSD:14:quarterly3.124.0_73.124.0_7n/a3.97.0_23.124.0_7
FreeBSD:15:latest3.138.0_13.138.0_1n/a-3.97.0_4
FreeBSD:15:quarterly3.124.0_73.124.0_7n/an/an/a
FreeBSD:16:latest3.124.0_63.138.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

All build dependencies 1
All run dependencies 3

No port depends on this one.

Configuration

No options to configure.

USES
go:modules
Service scripts
buildkite

Message after installing

buildkite-agent requires minimal configuration in rc.conf, to allow hiding the
the agent token from casual prying eyes, and to specify the user account to run
the agent under, as its home directory is needed for ssh keys and agents, source
code repositories, and temporary build worksapces.

The /etc/rc.conf.d/buildkite file should be protected via
owner/group root:wheel and 0600 permissions, to ensure the API token is
not left exposed to non-privileged users and to any processes the agent
itself may launch.

Note: the supplied user must have full filesystems permissions over its homedir.

# /etc/rc.conf.d/buildkite
# mandatory parameters
buildkite_enable=YES
buildkite_token=abc123456def
buildkite_account=sudo_make_me_a_user
# optional parameters
buildkite_config=/usr/local/etc/buildkite/buildkite-agent.cfg
buildkite_vars="KEY=value MORE=values"

See https://buildkite.com/docs/agent for further details.

Files

pkg-plist 14
  • bin/buildkite-agent
  • @dir etc/buildkite-agent/hooks
  • @dir etc/buildkite-agent/plugins
  • @sample etc/buildkite-agent/buildkite-agent.cfg.sample
  • share/examples/buildkite-agent/hooks/checkout.sample
  • share/examples/buildkite-agent/hooks/command.sample
  • share/examples/buildkite-agent/hooks/environment.sample
  • share/examples/buildkite-agent/hooks/post-artifact.sample
  • share/examples/buildkite-agent/hooks/post-checkout.sample
  • share/examples/buildkite-agent/hooks/post-command.sample
  • share/examples/buildkite-agent/hooks/pre-artifact.sample
  • share/examples/buildkite-agent/hooks/pre-checkout.sample
  • share/examples/buildkite-agent/hooks/pre-command.sample
  • share/examples/buildkite-agent/hooks/pre-exit.sample
distinfo 2
FileSizeSHA256
go/devel_buildkite-agent/buildkite-agent-v3.138.0/v3.138.0.mod120054efa7babab459d337b8290052221c81fa576d56edb25e936cdafa79b5e1da6c9
go/devel_buildkite-agent/buildkite-agent-v3.138.0/v3.138.0.zip4.245557e+06b421d6d99700997ad779e0b02602aa9b950c49ea0737edf7acf546a1c050ec4e

Commit history 8

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
6436c090b0 Dave Cottlehuber devel/buildkite-agent: Update to 3.138.0
- graceful agent shutdown reporting and systemd watchdog support - upstream expects this to be the last v3 feature release Changelog: https://github.com/buildkite/agent/releases/tag/v3.138.0 Sponsored by: SkunkWerks, GmbH
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1
4867821cd6 Dag-Erling Smørgrav various: Bump go ports for go-1.25.14 / 1.26.7

The latest 5 of 8 in the history this site was built from.