commit | af5bd37dbef10fbf0d4da688c66bb113f21338e5 | [log] [tgz] |
---|---|---|
author | Daniel Gruno <humbedooh@apache.org> | Wed Dec 28 20:29:18 2022 +0100 |
committer | GitHub <noreply@github.com> | Wed Dec 28 20:29:18 2022 +0100 |
tree | 6cf95c6bdadd1cdcc93915f3fbae72b709de325b | |
parent | b4b01621475ac86b0fdb5f60eca241784b13dbcf [diff] |
Change listening to async
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