Merge pull request #5 from apache/undefined

result is undefined
tree: 90846a962a6542aa877d18f680c7c1b9f0715c95
  1. docs/
  2. LICENSE
  3. occ.py
  4. occ.yaml.sample
  5. pipservice-occ.service
  6. README.md
  7. 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, $branch, $hash]
    blamelist: notify@example.org
    blamesubject: Git trigger failure
    runas: username (optional)
    skiprest: true (optional - don't process any further commands matching this commit)
  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