commit | 25c4cc25e1fb9e1225b87144593eb2c98c5117f4 | [log] [tgz] |
---|---|---|
author | Daniel Gruno <humbedooh@apache.org> | Wed Dec 28 20:31:38 2022 +0100 |
committer | GitHub <noreply@github.com> | Wed Dec 28 20:31:38 2022 +0100 |
tree | 7b2c348a1f6aa5c8d78860f57a37a81fb423422f | |
parent | 9c139869cc35793626c0dbde5ad0e190f18a3637 [diff] |
await run_as
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