bkrun icon indicating copy to clipboard operation
bkrun copied to clipboard

Run buildkite pipelines locally :tada:

bkrun

js-standard-style

Your friendly local Buildkite pipeline runner

asciicast

Why?

Test those pipelines locally, of course.

Install

npm install -g bkrun

Features

  • Supports command steps
  • Supports wait steps (although these don't actually do anything atm)
  • Supports prompt steps
  • Supports manual unblock steps
  • Supports agent meta-data get/set through a mock buildkite-agent
  • Supports environment variables
  • Supports pipeline uploading

TODOs

  • Asynchronous steps are run sequentially (in order)
  • Ensure pipeline-uploading mechanics match (does new env apply to non-uploaded steps going forward? etc)