https://github.com/apache/infrastructure-occ
On-Commit Commands
https://github.com/apache/infrastructure-occ
apache occ
Last synced: 8 months ago
JSON representation
On-Commit Commands
- Host: GitHub
- URL: https://github.com/apache/infrastructure-occ
- Owner: apache
- License: apache-2.0
- Created: 2021-02-16T10:46:21.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T17:55:49.000Z (almost 2 years ago)
- Last Synced: 2025-01-30T10:06:42.829Z (over 1 year ago)
- Topics: apache, occ
- Language: Python
- Size: 37.1 KB
- Stars: 1
- Watchers: 11
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# infrastructure-occ
On-Commit Commands
Simple daemon that runs commands when a commit to a certain source has happened.
Sample `occ.yaml` config:
~~~yaml
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
~~~