buildkite / cli

A command line interface for Buildkite.
MIT License
169 stars 44 forks source link

Allow non-interactive `bk configure` command #407

Closed stone-w4tch3r closed 1 day ago

stone-w4tch3r commented 1 day ago

Currently bk configure is interactive and this prevents from using it in poduction, eg github actions. This PR adds --org and --token options for non-interactive bk CLI configure.

Note: due to multiple bugs in current buildkite packages system, I can't verify that I really can push packages after non-interactive configuration. But I can't push packages with current release version too. I am not familiar with other buildkite features, so unfortunately can't test my changes

mcncl commented 1 day ago

Thanks for the contribution @stone-w4tch3r! ❤️