Skip to content

notification script running on git repos as a ansible playbook

License

Notifications You must be signed in to change notification settings

zerwes/git-remembrall

Repository files navigation

License: GPL v3 ansible-lint molecule test

git-remembrall

notification script running on git repos deployed and configured via a ansible playbook ...

description

In order to avoid git branches diverging to much from the main branch and/or to enforce timely intergation of changes made on the main branch on prominent files (test configurations, commit checks, submodules, ...) you can run a script on a checkout that will notify the author/commiter of the last commit on the branch in question by mail.

Many parameters can be configured, as the script is implemented as a jinja2 template.

Branches can be excludes via configuration or by setting a tag named $branch-archived on the HEAD commit of the branch. (if the tag is not pointing to the HEAD the script assumes the branch is still in use and will ignore the tag!)

configuration

see: defaults/main.yml

tl;dr

blog post

About

notification script running on git repos as a ansible playbook

Topics

Resources

License

Stars

Watchers

Forks