Allow for a yaml list of command arguments to run

This will allow items such as:
oncommit: 
  - "/bin/sh"
  - "-c"
  - "echo 'hello' && exit 1"
1 file changed
tree: 1b96ad264b235318f393f593bfceed856c17e81f
  1. LICENSE
  2. occ.py
  3. occ.yaml.sample
  4. pipservice-occ.service
  5. README.md
  6. requirements.txt
README.md

infrastructure-occ

On-Commit Commands

Simple daemon that runs commands when a commit to a certain source has happened.

Sample occ.yaml config:

pubsub:
  url: https://pubsub.apache.org:2070/commit
  user: user
  pass: pass

subscriptions:
  git-change:
    topics: git/commit/some-git-repo-name
    oncommit: /x1/git/run-git-trigger.sh
    blamelist: notify@example.org
    blamesubject: Git trigger failure
  svn-change-in-dir:
    topics: svn/commit/somedir
    changedir: some/subdir
    oncommit: /x1/git/run-svn-trigger.sh
    blamelist: notify@example.org
    blamesubject: Subversion trigger failure