Start Buildkite builds using Git with a clickable link:
Walks you through first time configuration.
Install on macOS using Homebrew:
brew install sj26/git-buildkite/git-buildkite
Or just download the git-buildkite script in this repository somewhere into your $PATH
. It works on Linux, too.
Add a Buildkite API Access Token with:
$ git config --global buildkite.apikey my-api-key
Or store it more securely in your macOS Keychain:
$ security add-generic-password -s api.buildkite.com -a "$USER" -w
password data for new item:
retype password for new item:
Or in GNOME Keychain, or other secret stores which Keyring supports:
$ pip install keyring
$ keyring set api.buildkite.com "$USER"
Password: *****
Start a build on your current branch and commit:
$ git buildkite
Start a build on another branch and its current commit:
$ git buildkite my-branch-name
Start a build on another branch at a specific commit:
$ git builkdite my-branch-name 87cba321
HEAD
can be used as an alias for the current branch name when you only want to specify a commit:
$ git buildkite HEAD 87cba321
Any Git revision works as a commit:
$ git buildkite HEAD "@{1 week ago}"
You can automatically open the build in your browser, too:
$ git buildkite --browse
- Better result parsing and error handling
MIT, see LICENSE.