On-Commit Commands

Clone this repo:
  1. 9b209aa Merge pull request #6 from apache/tidy by Myrle Krantz · 8 weeks ago main
  2. 04a33c1 Merge pull request #5 from apache/undefined by Myrle Krantz · 8 weeks ago
  3. d3e4c91 Docco by Sebb · 9 weeks ago
  4. c2422cd Can provide params by Sebb · 9 weeks ago
  5. 491cd5c subkey not used; not need to recheck oncommit by Sebb · 9 weeks ago tidy

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