cruncher
v1.0.7
Published
Extremely minimal and awesome Continuous Integration server for Git
Downloads
3
Readme
Cruncher
Cruncher is a minimal continuous integration server for git repositories.
Installation
npm install cruncher
Running
You must have a projects.yml
in the current directory. It is a YAML file that describes the local git repositories and what to execute when they change.
They must have a valid 'origin' remote.
projects:
- name: First Project
repo: ../some_path
test:
cmd: echo $CRUNCHER_COMMIT_ID $CRUNCHER_COMMIT_MESSAGE $CRUNCHER_CHECKOUT_DIR
deploy:
cmd: echo "Deploying"
notification:
cmd: echo $CRUNCHER_NOTIFICATION_EVENT
- name: Another Project
branch: 'feature_branch'
repo: ../some_other_path
test:
cmd: echo $CRUNCHER_COMMITTER_EMAIL
deploy:
cmd: echo "Deploying here as well"