buildkite / buildkite/agent

Hot-reloadable config, or graceful agent restart?

Open
#476 6 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
1.1k
Forks
378
Avg merge
2d 6h
Merged PRs (30d)
74

Description

Hi BK team!
We're currently evaluating BuildKite to see if it's a good fit for our build-deploy process long-term. Right now we're in the following situation we need to account for:

* We have an error or potential security issue with the buildkite-agent.cfg config file / environment config
* We want to reload the agents with the rolled-back or updated config
* We don't want to interrupt any builds that are in-flight

Right now our only option is to force-stop / start agents en masse, but this runs the risk of killing inflight jobs.

Is there a mechanism to either

Hot-reload the configuration (buildkite-agent.cfg in our case)
Be able to issue a command to live running agents to restart and pick up latest settings/environment/etc once the current build they're running has completed?

Thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.