Deploy script idea: auto on-call for code pushers
I've been obsessing of late over deploy process stuff, as I'm working on a new stack that involves Heroku and a few other things that are somewhat new to me. My friend Chris just mentioned off-hand he wished there were a way to auto on-call someone in the hour after they push code. Yeah, that. So for the idea pile...hook into your deploy script:
- get the committers in the push (via git or whatever you are using)
- make sure you have users in your PagerDuty setup for every comitter
- when the deploy happens, override the on-call schedule in PagerDuty via API to put that user at the top of the rotation for a set period of time
I need to try this...