On-Commit Commands

Clone this repo:

Branches

  1. 0adef92 shadow print by Daniel Gruno · 9 weeks ago main
  2. e6ebeba Different syntax for git and svn by Daniel Gruno · 9 weeks ago
  3. 69a1003 allow skipping other commands if we found a match by Daniel Gruno · 9 weeks ago
  4. d2bb2bc OF: Fix variable name and default by Daniel Gruno · 9 weeks ago
  5. fed017d Allow for a yaml list of command arguments to run by Daniel Gruno · 3 months ago

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