Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cannikin/cimple

A super-simple CI tool: Sinatra + command line
https://github.com/cannikin/cimple

Last synced: about 2 months ago
JSON representation

A super-simple CI tool: Sinatra + command line

Awesome Lists containing this project

README

        

CImple is pretty much the simplest continuous integration system you
could ask for. It is a Sinatra application and responds to only a
couple of endpoints:

http://domain.com:4567/

Shows you the results of the last hook run.

http://domain.com:4567/post-commit

Any endpoint other than / is the name of a hook. This same name should
be present at the top level of your commands.yml file.

For example, if you want your hook to be named "post-commit" then you
would access it using the URL above, and have something similar in your
commands.yml file:

post-commit:
Update Code: svn update /var/www/my_app

== Configuration

Update commands.yml with the commands that you want to run at each
hook call. See that file for instructions.

== Startup

CImple is a Sinatra app so you start it the same way:

ruby cimple.rb

By default cimple will log to STDOUT. To log to a file instead, include
its path when you start:

ruby cimple.rb /var/log/cimple.log