rax-maas / dreadnot

deploy without dread
Apache License 2.0
631 stars 61 forks source link

feat(git-get-revision): #90

Closed kaustavha closed 8 years ago

kaustavha commented 8 years ago

Implement a couple methods to get latest commits sha via the github api Add two api routes that can fetch the sha of the latest commit and fetch the sha of the latest commit on a given branch. Implement auto-deploy featurette more completely. Now the deploy api route can be supplied a POST body. The body must have your github username or password, or one with access credentials to the repository/stack you want to deploy. This will trigger a deploy to the latest revision on master. You can also supply a branch to trigger a deploy to the latest version of that branch. Or you can supply a git sha to trigger a deploy to said sha

{
  to_revision: <sha>,
  username: <ghUsername>,
  password: <ghPassword>,
  branch: <branchName>
}
kaustavha commented 8 years ago

If you merge this one, you shouldn't need #98.

mburns commented 8 years ago

Awesome!

This needs a rebase, but :+1: