Integrity is your friendly automated Continuous Integration server.
It's fully usable from within its web interface (backed by Sinatra), allowing you to add a project, set preferences for it (where's the code repository, is it completely private or public, etc), and run the build command from there.
It has been designed with ruby projects in mind, but any project that can be tested in an unix-y fashion (with a command line tool that returns 0 on success and non-zero on failure) works with it.
Clone the source from our git repository:
sudo gem install dm-core dm-more data_objects do_sqlite3 sinatra json haml git clone git://github.com/foca/integrity.git cd integrity git submodule update --init cp config/config.sample.yml config/config.yml $EDITOR config/config.yml rake db:migrate bin/integrity
Now you can go to http://localhost:4567, add your first project, and enjoy safer coding, with integrity.
If you want automatic commit processing, you currently need to be using
GitHub. Click the edit link on your GitHub project, and add an integrity
link that looks like the following to the
Post-Receive URL field:
config.yml only needs two settings:
database_uri: this should be a complete connection string to your database. For example
mysql://user@localhost/integrity(you need an
integritydb created in localhost, of course).
export_directory: This is where your project's code will be checked out to. Make sure it's writable by the user that runs Integrity.
We have a Lighthouse account where you can submit patches or feature requests. Also, someone is usually around #integrity on Freenode, so don't hesitate to stop by for ideas, help, patches or something.
- Twitter/Campfire/IRC bots
- More general support for git (only git: urls are supported for now)
- Other SCMs like Subversion
The code is stored in GitHub. Feel free to fork, play with it, and send a pull request afterwards.
Simon Rozet http://atonie.org/, for implementation and ideas.
(The MIT License)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.