Hack: Post a message to lighthouse
|
|
Here’s a simple script to use basic auth to post a message to the messages section of a project. I’ll be using it to log a message when an application is deployed. Call it on the command line with two arguments: title and body |
|
|
Nice tip. I haven’t really played with messages yet and deployment notices sounds like a good idea. Idea! maybe merge it with continuous builder and have it create messages for broken tests. Well maybe a ticket would be better suited. (Just had the idea now, had to write it down somewhere, o, look a text box) |
|
|
Here is a capistrano recipe version |
|
|
We were going to use messages for post-commit hooks originally. They were going to be the generic blob of text for things like post-commit messages, continuous integration failures, deployment notices, etc. I’m not really sure if I should keep on that route, or start using the Event model. Events are used to link to messages/tickets/etc, but I think these deployment notices, test failures, and changesets are less permanent than messages. |