cruncher

1.0.7 • Public • Published

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"

Readme

Keywords

Package Sidebar

Install

npm i cruncher

Weekly Downloads

8

Version

1.0.7

License

MIT

Last publish

Collaborators

  • piot