cli
cli copied to clipboard
Provide ability to set BUILDKITE_* environment variables
I run agents for a few different Buildkite orgs on my machine, and I'd like to use bk run with the non-default one. To that end, I'd like to be able to do things like this without the env vars intended for the agent being overriden:
BUILDKITE_CONFIG_PATH=/etc/buildkite-agent/bt-buildkite-agent.cfg bk run
The local run command hasn't been implemented on v3 and we don't plan on adding it for the time being; it's extremely difficult to keep it up to date as it's essentially its own external tool that needs to persist with the current agent. We are looking at alternative solutions.