Coder Social home page Coder Social logo

integrity's Introduction

Integrity

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.

Getting Started

Install the integrity gem from GitHub:

gem sources add http://gems.github.com
sudo gem install foca-integrity

In order to setup Integrity, run the following command:

integrity install /path/to/my/app

Then browse to /path/to/my/app and edit the config files at your convenience. The default configuration should be "good enough" in most cases, so you should be pretty much ready to rock.

For deployment, we recommend Thin. Provided with Integrity comes a thin.yml file, so all you need to do after running integrity install should be

thin -C /path/to/my/app/thin.yml -R /path/to/my/app/config.ru start

And you should be up and running.

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:

http://integrity.domain.tld/projectname/push

Receiving Notifications

If you want to be notified after each build, you need to install our notifiers. For example, in order to receive an email after each build, install:

sudo gem install foca-integrity-email

And then edit /path/to/my/app/config.ru and add:

require "notifier/email"

After all the require lines.

Available notifiers

Resources

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.

Future plans

  • Twitter/IRC/etc bots
  • A sample generic post-receive-hook so you can run this from any git repo
  • Better integration with GitHub

Development

The code is stored in GitHub. Feel free to fork, play with it, and send a pull request afterwards.

In order to run the test suite you'll need a few more gems: rspec, rcov and hpricot. With that installed running rake will run the specs and ensure the code coverage stays high.

Thanks

Thanks to the fellowing people for their feedbacks, ideas and patches :

License

(The MIT License)

Copyright (c) 2008 Nicolás Sanguinetti, entp

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.

integrity's People

Contributors

foca avatar sr avatar jamesgolick avatar defunkt avatar wilson avatar pd avatar ph avatar smtlaissezfaire avatar atmos avatar elliottcable avatar redinger avatar lazyatom avatar

Stargazers

Angus H. avatar Marston A. avatar  avatar  avatar

Watchers

 avatar James Cloos avatar  avatar  avatar

Forkers

cider-load-test

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.