A command line interface for Buildkite.
Branch: master
Clone or download
lox Merge pull request #25 from buildkite/implement-block-steps
Implement text and select block steps
Latest commit 8641d80 Feb 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.buildkite
.github Bump Feb 5, 2019
cmd/bk
config
git Select pipeline UI added for create build Jun 12, 2018
github
graphql
local
.gitignore
LICENSE.txt Add MIT license Feb 8, 2019
Makefile Add exe for windows binary Oct 18, 2018
README.md Update README.md Feb 5, 2019
cmd_browse.go
cmd_build_create.go Rename `bk create build` to `bk build create` Nov 8, 2018
cmd_configure.go Show the correct path for config file. Nov 1, 2018
cmd_init.go Use pipeline upload for default pipeline Aug 1, 2018
cmd_local_run.go
cmd_pipeline_list.go Rename `bk list pipelines` to `bk pipeline list` Nov 8, 2018
context.go
debug.go Post gophercon package reshuffle Jun 6, 2018
go.mod Add some more tests and fixes for pipeline parsing Feb 6, 2019
go.sum
pipelines.go
terminal.go Move build command to create build Jun 7, 2018
ui.go Select pipeline UI added for create build Jun 12, 2018
version.go

README.md

bk - The Buildkite CLI

Latest release

A command line interface for Buildkite.

💬 Pre-Release Feedback

This is currently a pre-release, and we'd love to hear any feedback and questions you might have. Please file an issue on GitHub and let us know 💖

⬇️ Installation

On macOS, you can install with Homebrew:

brew tap buildkite/cli
brew install bk

On all other platforms, download a binary from the latest GitHub releases.

📄 Usage

# Sets up your credentials (stored in your operating system's native secure storage, using https://github.com/99designs/keyring)
bk configure

# Opens the current pipeline in your browser
bk browse

# List the pipelines that you have access to
bk pipelines list

# Triggers a build for the current directory's commit and branch
bk build create

# Runs the current directory's pipeline steps locally (requires the buildkite-agent to be installed)
bk local run

# Sets up your current git project directory for Buildkite, creating a .buildkite/pipeline.yml file, a pipeline in Buildkite, and setting up the webhooks on GitHub or Bitbucket
bk init

🔨 Development

Developed using Golang 1.11+ with modules.

export GO111MODULE=on
git clone git@github.com:buildkite/cli.git
cd cli/
go run ./cmd/bk --help