Skip to content

Instantly share code, notes, and snippets.

@kapilt
Last active April 24, 2016 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kapilt/d42345e7a295c6daf8fcb9946ed0cf8f to your computer and use it in GitHub Desktop.
Save kapilt/d42345e7a295c6daf8fcb9946ed0cf8f to your computer and use it in GitHub Desktop.

Hosted Drone with commercial subscription

Automatic Discovery.. I don't have organization access to accept the integration, ie. No organization access granted, access requested.

Using the manual add with capitalone/cloud-custodian

Status Code:500 Internal Server Error
Not Found

Manual add on the cli

$ drone repo add capitalone/cloud-custodian
POST https://api.github.com/repos/capitalone/cloud-custodian/hooks: 404 Not Found []

Manual Setup of Repository Hook

$ docker logs drone
time="2016-04-24T11:22:33Z" level=error msg="failure to find repo capitalone/cloud-custodian from hook. sql: no row
s in result set" 
time="2016-04-24T11:22:33Z" level=error msg="Error #01: sql: no rows in result set\n" ip=192.30.252.34 latency=2.63
9332ms method=POST path="/hook" status=404 time="2016-04-24T11:22:33Z" user-agent="GitHub-Hookshot/cd33156" 

Messing with oauth scopes

So explicitly setting write:repo_hook seems to get farther, but then barfs on setting status, tried going back and adding write:repo_status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment