1.3.0 • Published 7 years ago

@brocan/bouncer-github v1.3.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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-Delivery
      • X-GitHub-Event
    • Required Payload Fields - see PushEvent for a detailed reference
      • ref - string
      • commits - array
      • head_commit - objec
      • repository - object
      • sender - object
  • 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.
1.3.0

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago