Home Creators Posts Import Register Favorites Logout

Content

A little late writing this up, but here's the gist of things:

In December, I mentioned that buildbot.libsdl.org is now wired up to a disco ball. Here's the script that does that: buildbot-alarm.pl 

To use it: run it somewhere that it can idle, and point it at your buildbot...

    buildbot-alarm.pl http://mybuildbot.com/ buildbot-alarm-handler.sh 15

...that'll poll mybuildbot.com every 15 seconds to see if a worker is down or reporting a build error, using the JSON APIs that buildbot provides. We use this on the server itself, talking to localhost, so 15 seconds isn't bonkers. Maybe slow your roll doing this over the internet. The fun thing is you don't need to own the buildbot to use this script; you can point it at any public buildbot master.  :)

When the state changes between failure or success, it calls buildbot-alarm-handler.sh with a 1 or 0 argument. On libsdl.org, we use IFTTT to talk to a cheapy wifi electrical outlet in my office that turns on/off the disco ball, but get creative here and do whatever you like!


Up next for me: There's a Linux game arriving shortly that I've been this close to finishing for two months now. After that, I'm going to work on some of the projects I've barely started, like MojoVault and the Switch port, and make some progress on those instead of starting another something new. 

Thanks for sticking around for all the fun!