PullGoCD - Service to accept Github PR hooks and send them to Go-CD/Slack

996 views
Skip to first unread message

Darren Foo

unread,
Mar 22, 2015, 7:26:45 PM3/22/15
to go...@googlegroups.com
Hi,

We recently migrated our Chef CI pipeline into GitHub and implemented a Pull Request workflow. We needed an immediate solution on v14 and couldn't upgrade to v15dev for some of the various plugins available, so I threw together a sinatra service. It's not pretty as I'm not a developer. Please let me know if you find it useful and all feedback is welcome.

Features

  • Sets Github PR status to "pending" and triggers Go Pipeline specified in config.yml
  • Retries trigger up to 5min and if unsuccessful, updates Github PR status and optionally notifies Slack channel
  • Mutiple Go Pipelines can be specified to allow for parallelization
  • On success/failure of Go pipeline run, update PR status and optionally notify Slack on success (conditional tasks in Go required)
  • Ignores Github PR's that are not of action openedreopenedsychronize, or are unmergeable
  • Optionally rejects Github PR's that are submitted to a specified unauthorized branch by closing PR
Thanks!
Darren Foo
Reply all
Reply to author
Forward
0 new messages