Last active
April 19, 2016 17:00
-
-
Save colinrymer/66addc52bc10578bc901db7b4cb75eb4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+---------+ +-------+ +-----+ +---------+ +---------------+ | |
| GitHub | | Slack | | CI | | Jenkins | | ArtifactRepo | | |
+---------+ +-------+ +-----+ +---------+ +---------------+ | |
-----------------------\ | | | | | | |
| Pull Request opened. |-| | | | | | |
|----------------------| | | | | | | |
| | | | | | |
| Send message about PR opened. | | | | | |
|---------------------------------->| | | | | |
| | | | | | |
| Notification of PR opened. | | | | | |
|-------------------------------------------------------------------------------------->| | | | |
| | | | | | |
| | Set commit status to pending. | | | | |
|<--------------------------------------------------------------------------------------| | | | |
------------------------\ | | | | | | |
| commit status pending |-| | | | | | |
|-----------------------| | | | | | | |
| | | | | | |
| | | Initiate build. | | | |
| | |--------------------------->| | | |
| | -------------------------\ | | | | |
| | | Record job queue time. |-| | | | |
| | |------------------------| | | | | |
| | | | | | |
| | Send message about job queued. | | | | |
| |<--------------------------------------------------| | | | |
| | | | | | |
| | | Notify job started. | | | |
| | |<---------------------------| | | |
| | ---------------------------\ | | | | |
| | | Record job started time. |-| | | | |
| | |--------------------------| | | | | |
| | | | | | |
| | Send message about job starting. | | | | |
| |<--------------------------------------------------| | | | |
| | | | | | |
| | | | Upload build artifact to build bucket. | | |
| | | |----------------------------------------------->| | |
| | | | | | |
| | | Notify job completed. | | | |
| | |<---------------------------| | | |
| |-------------------------------------------------\ | | | | |
| || Record job finished time, output, status, etc. |-| | | | |
| ||------------------------------------------------| | | | | |
| | | | | | |
| | Send message job completed. | | | | |
| |<--------------------------------------------------| | | | |
| | | | | | |
| | Update commit status based on job status. | | | | |
|<--------------------------------------------------------------------------------------| | | | |
-------------------------------------------------\ | | | | | | |
| commit status `success`, `error`, or `failure` |-| | | | | | |
|------------------------------------------------| | | | | | | |
------------------------------------------\ | | | | | | |
| status will include build artifact URL. |-| | | | | | |
|-----------------------------------------| | | | | | | |
| | | | | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://developer.github.com/v3/repos/deployments/