Webhook server for Gitlab, Github and Gitea to run arbitrary commands.
You need to create the binary like this:
shards install make
As a result, the executable
bin/gachette will appear.
KEMAL_ENV=production gachette -p 3030 -k github -n blankoworld/gachette -c "ls /"
- you run in production mode
- port: 3030
- you accept webhooks formed as github one
- user namespace is blankoworld/gachette
- each time you receive the well-formed request you launch a command: ls /
Pretty testing can be launched via these commands:
shards install KEMAL_ENV=test crystal spec
shards install make test
As for Crystal language, just generate the documentation like this:
- Fork it (https://github.com/blankoworld/gachette/fork)
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request
- Olivier DOSSMANN - creator and maintainer