Skip to content

Commit

Permalink
I verified that the hipchat.py on toby can use room names, so do that.
Browse files Browse the repository at this point in the history
Summary:
It's much easier to read (and figure out) than room numbers!

Publish to hipchat every time this script restarts.

If it's all the time, we want to know.  We also want to know, when
restarting the script, that it can actually successfully speak to
hipchat.

Test Plan:
Manually ran the hipchat function in notify.py, with the room_id as
'1s and 0s'.

None yet.  But once this is installed, I'll restart notify.py manually
on toby.

Reviewers: alpert

Reviewed By: alpert

Differential Revision: http://phabricator.khanacademy.org/D2003
  • Loading branch information
csilvers committed Feb 5, 2013
1 parent 9a64803 commit eabcfe1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions notify.py
Expand Up @@ -84,6 +84,10 @@ def build_message(last_version, version):


if __name__ == '__main__':
hipchat_notify(
secrets.hipchat_room_id,
'Restarting notify.py!')

last_version = None

while True:
Expand Down

0 comments on commit eabcfe1

Please sign in to comment.