GitXplorerGitXplorer
s

git-buildkite

public
15 stars
5 forks
0 issues

Commits

List of commits on branch master.
Unverified
a93be40d6e89cdd4b8793d1043b07092ee176f1b

Send a user-agent

ssj26 committed a year ago
Unverified
d105b163544b288c0c839107bf1e2c6ddd80a98e

Allow using org-specific tokens

ssj26 committed a year ago
Verified
4eff7b24324aa34abb9b7c0ac050504221292117

Update screenshot

ssj26 committed 7 years ago
Verified
17e40a26c725cf6064d946b9f06a53cfa752924c

Add --browse to README

ssj26 committed 7 years ago
Verified
b9e81d343a97680fe0ec44064c93a94755c2e2eb

Open build in browser with --browse

ssj26 committed 7 years ago
Verified
09aac67c80df22ae5c0de7db182c53578caee4ec

Allow api key in keychain directly via `security`

ssj26 committed 7 years ago

README

The README file for this repository.

Git Buildkite

Start Buildkite builds using Git with a clickable link:

git buildkite building buildkite on buildkite

Walks you through first time configuration.

Installation

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: *****

Usage

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

To Do

  • Better result parsing and error handling

License

MIT, see LICENSE.