Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cynipe/gh_webhook_gateway
https://github.com/cynipe/gh_webhook_gateway
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cynipe/gh_webhook_gateway
- Owner: cynipe
- Created: 2015-02-27T07:28:04.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-27T07:30:11.000Z (almost 10 years ago)
- Last Synced: 2024-11-05T07:25:22.539Z (about 2 months ago)
- Language: Nginx
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Github Webhook Gateway Example
## Requirements
* docker
* docker-compose```
# boot instance
$ docker-compose up -d# send test webhook with valid content
$ brew install httpie
$ http -v POST 192.168.59.103 'Content-Type:application/json' 'X-Hub-Signature:sha1=0567bf10a3ebdba96ee7c41268a2ecb570109e76' <<_EOM
abcd
_EOM# send test webhook with invalid content
$ brew install httpie
$ http -v POST 192.168.59.103 'Content-Type:application/json' 'X-Hub-Signature:sha1=0567bf10a3ebdba96ee7c41268a2ecb570109e76' <<_EOM
invalid
_EOM# access gateway directly
open http://your.docker.host# access jenkins directly
open http://your.docker.host:8080
```