A Drone CI plugin for BitBar.
Based on work by Christoph Schlosser.
Copy the dronebar.5m.sh
file to your BitBar plugins directory (make sure it's executable!)
Change the 5m
part of the filename to have the Drone build information update on a different schedule. See the BitBar docs for all the available options.
You'll need to modify a few variables in the script to get it working with your Drone CI setup.
This variable is used to filter the repos that you will get build information for.
Set a single value to only get information about builds in one namespace:
NAMESPACES="craigrosie"
To get build information for repos in multiple namespaces, separate the namespaces with a |
:
NAMESPACES="craigrosie|github"
Set this to the url of your Drone server.
Set this to your personal Drone access token usually found at DRONE_SERVER/account/token
.