commit | 9f129b08c9d616dd182b9e7f339d84855ae98b9e | [log] [tgz] |
---|---|---|
author | Daniel Gruno <humbedooh@apache.org> | Tue Feb 16 13:21:28 2021 +0100 |
committer | GitHub <noreply@github.com> | Tue Feb 16 13:21:28 2021 +0100 |
tree | b0dce463f787975a3f337b0ab8c02ef4d03dc0a2 | |
parent | 172efabbe2017fc5b229de5ae7af47aed5b90101 [diff] |
Allow running commands as a separate user
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