Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CI deploy from codebase #225

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

Support CI deploy from codebase #225

suwatch opened this issue Nov 21, 2012 · 2 comments
Assignees
Milestone

Comments

@suwatch
Copy link
Member

suwatch commented Nov 21, 2012

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
Copy link
Member

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

@davidebbo
Copy link
Member

I verified that we now work with codebasehq.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants