I am having a bit of a trouble in my drone configuration. I have set it up with bit bucket. Here is the docker-compose.yml
ersion: '2'
services:
drone:
image: drone/drone:1.0.0-rc.2
container_name: drone
volumes:
- /var/run/docker.sock:/tmp/docker.sock
- /var/lib/drone:/data
environment:
- DRONE_LOGS_DEBUG=true
- DRONE_SERVER_PROTO=https
- DRONE_BITBUCKET_CLIENT_ID=<client id>
- DRONE_BITBUCKET_CLIENT_SECRET=<client secret>
- DRONE_SERVER_HOST=drone.<domain removed>
- DRONE_TLS_AUTOCERT=true
- DRONE_RPC_SECRET=<rpc secret>
- DRONE_RUNNER_CAPACITY=2
ports:
- 7080:80
- 7443:443
I have been able to login and auth via github and activate the repos. The drone container http access is via nginx reverse proxy. However when I push to an activated repo, the logs show the following.
drone | {"commit":"9860ee16cb8abf3e9a526358be39c6f4273a352e","event":"push","level":"debug","msg":"trigger: received","ref":"refs/heads/master","repo":"someone/drone-test","time":"2018-12-15T07:45:46Z"}
drone | {"commit":"9860ee16cb8abf3e9a526358be39c6f4273a352e","error":"Post : unsupported protocol scheme \"\"","event":"push","level":"warning","msg":"trigger: cannot find yaml","ref":"refs/heads/master","repo":"arsomeoneca1n/drone-test","time":"2018-12-15T07:45:46Z"}
drone | {"fields.time":"2018-12-15T07:45:46Z","latency":2407513,"level":"debug","method":"POST","msg":"","remote":"172.19.0.1:60310","request":"/hook?secret=oE9HBqZMkfRyXT4Jh9vcVXSSOT4gMXKN","request-id":"1ENjRy9o7ZTFUYQAId9hZ94z1o4","time":"2018-12-15T07:45:46Z"}
The drone yaml is
workspace:
base: /go
path: src/bitbucket.org/someone/drone-with-go
pipeline:
test:
image: golang:latest
commands:
- go vet
- go test -v -cover
build:
image: golang:latest
commands:
- go build
Any help would be appreciated. Thanks!