1.3.0 • Published 8 years ago
@brocan/bouncer-github v1.3.0
Bouncer GitHub Plugin
Plugin for Bouncer that can accepts requests coming from GitHub WebHooks. Only push events are accepted.
Hapi Plugin Dependencies
Communication
Inbound
HTTP
POST /
- Request
- Required Headers
X-GitHub-DeliveryX-GitHub-Event
- Required Payload Fields - see PushEvent for a detailed reference
ref- stringcommits- arrayhead_commit- objecrepository- objectsender- object
- Required Headers
- Response
200 OK- If the request was valid. Empty body.400 Bad Request- If a validation error occurs.
- Description
- Processes a GitHub WebHook build requests and sends it to the Brocan Build System.
Outbound
NATS - Act
Build transform request
- Topic:
build.transform - Type:
pub/sub - Payload:
origin-github.webhookRequest- The payload received as part of the original GitHub request.
- Description
- A build transformation and initiation request.