buildkite / agent-stack-k8s

Spin up an autoscaling stack of Buildkite Agents on Kubernetes
MIT License
79 stars 30 forks source link

[WIP] Pass a pre-bootstrap hook into agent server container #313

Closed DrJosh9000 closed 4 months ago

DrJosh9000 commented 5 months ago

The more reliable approach is to build a container image containing the hooks you want and then set BUILDKITE_HOOKS_PATH.

But if that's too much work, a pre-bootstrap script might be small enough to smuggle through a configMap object, and this provides a way to do that.