GitHub PushEvent at 2014-02-01 05:30:44
Repository: jarvis
Actor: stahnma
Payload: {"shas":[["42316f26a77de26afd16b21941c6a744fd18122f","2a182c1e36ed712e31cb9cec0d63e3146905df9c@websages.com","We start with removing trailing whitespace in files","Michael Stahnke",true],["f79cef4305fdc0250565b0d8b867734829d7fe96","2a182c1e36ed712e31cb9cec0d63e3146905df9c@websages.com","Allow classic crunchy to do redeploys of himeself\n\nWe're gonna chatops like it's 2004 up in here.\n\nWe wanted a way to deploy and reload crunchy from the CLI. In this case\nwe'll just pass it off to IRC. The helpers makes use of a new script I\nwrote on freyr at `/usr/local/bin/legacy-bot-reload`. This script is\npretty basic and has minimal error checking. I haven't included it in\nthis pull request, because the entire thing is quite a hack.\n\nRight now we must use ssh keys with force-commands (2 keys, one for\ndeploy and one for reload) authenticating as root, becuase James S White\neffed up our sudo on freyr.  Until that is fixed, this is the best way I\ncould think of to solve the problem.\n\nThe bot should respond to:\n\n    !legacy-bot-deploy\n\nThis is congruent to:\n  cd /opt/local/jarvis && git pull && service jarvis restart\n\nThere is also\n\n    !legacy-bot-reload\n\nThis maps to:\n  service jarvis restart\n\nThe main issue with this commit is that there is no logging of what\nhappened. The only thing you can really see is the PID change, or you\ncan watch /var/log/secure for some ssh traffic. Meh. It's legacy.","Michael Stahnke",true],["2fbef8b6e865f5a7664c5f3413bfd644d6932a8e","2a182c1e36ed712e31cb9cec0d63e3146905df9c@puppetlabs.com","Merge pull request #14 from stahnma/fix_deployments\n\nFix deployments","Michael Stahnke",true]],"size":3,"ref":"refs/heads/production","head":"2fbef8b6e865f5a7664c5f3413bfd644d6932a8e"}