- the SFU release date (for the branch name)
- the Instructure release (for the head)
POST https://api.github.com/repos/sfu/canvas-lms/pulls
{
"title": "Cut 2016-02-02-shining-unicorn release",
"body": "Integrate instructure/canvas-lms:2016-01-09 release (da056a) and SFU modifications",
"head": "instructure:da056acce693de6c0e8bc5feada7a414818ea1ed",
"base": "refs/heads/2016-02-02-shining-unicorn"
}
- if PR creation succeeds, check the mergability by getting the PR (
GET https://api.github.com/repos/sfu/canvas-lms/pull/:number
) and checking the mergeable
property.
- if null, hasn't been computed yet; try again later
- if true, :thumbs-up:
- if false, we likely have a conflict. a person will need to checkout the PR, fix the conflicts, and re-push back up.
- if the PR is mergable, merge the PR (
PUT /repos/:owner/:repo/pulls/:number/merge
)
- if the merge succeded (check the
merged
property in the response), then kick off a deploy to canvas-edge
https://github.com/pksunkara/octonode
Instructure release schedule: https://community.canvaslms.com/docs/DOC-1384
ICS: http://www.google.com/calendar/ical/instructure.com_u3bufsip887n3qb6fht3rgnbts%40group.calendar.google.com/public/basic.ics