github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

javisantana / cipy

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

small python continuous integration server — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

readme 
root (author)
Tue Oct 20 15:06:23 -0700 2009
commit  fa92da085eb184eabfc31f7d98512f4c5e83d9da
tree    73c471684abbc22ca6460f9c14de1b98a0aa9145
parent  4268c28fd154b2611c09688689a73d0c6249ca04
cipy /
name age
history
message
file README.markdown Tue Oct 20 15:06:23 -0700 2009 readme [root]
file run.py Tue Oct 20 15:05:58 -0700 2009 i hate sqlite, removed concurrent access to sql... [root]
directory templates/ Wed Oct 21 07:55:11 -0700 2009 solved problems with process management (killin... [javi]
README.markdown

cipy

A really small quick'n'dirty continuous integration written in python.

cipy is language independent, it only execute a command and checks the return value , 0 = PASS, FAIL otherwise.

cipy uses the same aproach than git, svn and other SCM, use a special folder called .ci where the commands that will be executed to build are stored.

Installation

For the moment, cipy only runs on Linux (and maybe on macos and other unix flavours) and you need to install the following requirements:

$ python >= 2.5
$ juno (mini web framework)
$ SQLAlchemy (for models)
$ jinja2 (html template library)

juno, SQLAlchemy and jinja2 can be installed through pip

Usage

cipy doesn't need installation, only clone this repository and run!:

$ git clone git://github.com/javisantana/cipy.git
$ cd cipy
$ python run.py /path/to/repo

repo must be owned by cipy because it performs reset/update and you could loss your work if you're working in the same copy. once cipy has started you can open your favorite browser and point it to http://localhost:8000

.ci folder must exists in the repo root and a file called build (inside it) with execution permissions.This is the file that will be called in each build.

to raise a build use wget or other http client to call http://host:8000/build. You can put this statement inside post-commit-hook in svn or inside post-recieve-hook in git:

$ wget http://host:8000/build -O/dev/null

You also can trigger a build by hand using the web interface.

you can see a screenshot (if you're a real man)

TODO

[ ] add cmd line configuration parameters
[ ] support more than a repository
[ ] windows version 
[ ] improve my written english skills

javisantana, qualopec (a) gmail.com | @javisantana

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server