Support CI deploy from codebase #225

Closed
suwatch opened this Issue Nov 21, 2012 · 2 comments

2 participants

@suwatch
projectkudu member

In short, look for curl_url and use just that if exists.

http://www.codebasehq.com/

Sample payload:

{
   "after":"1cc3a47d5f53ef4532e622f9ac7f41e34e2565d1",
   "before":"040ea57a8049113cc400a4f11f89b963143827f7",
   "commits":[
      {
         "added":[

         ],
         "author":{
            "email":"david.ebbo@microsoft.com",
            "name":"davidebbo"
         },
         "id":"1cc3a47d5f53ef4532e622f9ac7f41e34e2565d1",
         "message":"Update project to VS 2012",
         "modified":[
            "SimpleWebApplication/SimpleWebApplication.csproj"
         ],
         "removed":[

         ],
         "timestamp":"Wed, 17 Oct 2012 23:53:55 +0100",
         "url":"https://david-s-account.codebasehq.com/projects/davidtest/repositories/davidtestrepo/commit/1cc3a47d5f53ef4532e622f9ac7f41e34e2565d1"
      },
      {
         "added":[

         ],
         "author":{
            "email":"david.ebbo@microsoft.com",
            "name":"davidebbo"
         },
         "id":"8bbee7a161f2d3161cd2ac585acd920d0bb288aa",
         "message":"Turn off custom errors",
         "modified":[
            "SimpleWebApplication/Web.config"
         ],
         "removed":[

         ],
         "timestamp":"Thu, 11 Oct 2012 18:57:56 +0100",
         "url":"https://david-s-account.codebasehq.com/projects/davidtest/repositories/davidtestrepo/commit/8bbee7a161f2d3161cd2ac585acd920d0bb288aa"
      }
   ],
   "ref":"refs/heads/master",
   "repository":{
      "clone_url":"git@codebasehq.com:david-s-account/davidtest/davidtestrepo.git",
      "clone_urls":{
         "http":"https://david-s-account.codebasehq.com/davidtest/davidtestrepo.git",
         "ssh":"git@codebasehq.com:david-s-account/davidtest/davidtestrepo.git"
      },
      "name":"davidtestrepo",
      "project":{
         "name":"davidtest",
         "status":"active",
         "url":"https://david-s-account.codebasehq.com/projects/davidtest"
      },
      "url":"https://david-s-account.codebasehq.com/projects/davidtest/repositories/davidtestrepo"
   },
   "test":true,
   "user":{
      "email":"david.ebbo@microsoft.com",
      "name":"David Ebbo",
      "username":"david-ebbo-14"
   }
}
@davidebbo davidebbo was assigned Nov 26, 2012
@davidebbo
projectkudu member

@suwatch isn't this done? Is see we have a CodebaseHqHandler. Maybe it's just untested against the real thing?

@davidebbo
projectkudu member

I verified that we now work with codebasehq.

@davidebbo davidebbo closed this Jan 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment