Install magit-buildkite’s dependencies: request and magit.
Add magit-buildkite.el to your Emacs load path, then run:
(require 'magit-buildkite)In order to configure magit-buildkite, set the following variables:
magit-buildkite-auth-tokena token authorisingmagit-buildkiteto fetch data on your behalfmagit-buildkite-organizationthe organisation of the pipeline to fetch information aboutmagit-buildkite-pipelinethe name of the pipeline to fetch
Then run magit-buildkite-mode in your Magit status buffer.
These can be set on a per-project basis by using .dir-locals.el or .dir-locals-2.el like so:
((magit-status-mode
(magit-buildkite-auth-token . "your-token")
(magit-buildkite-organization . "your-organization")
(magit-buildkite-pipeline . "your-pipeline")
(mode . magit-buildkite)))