Setup:
Drone 0.8
Bitbucket Cloud
bitbucket hook state (user hook)
Name Description Last accessed Actions DroneIO_Dev 2017-10-17T16:23:31.837528+00:00 Revoke
So this was accessed yesterday when I built the server. Today I come in and push a build, and nothing happens.
There are 3 builds from yesterday, on 3 different pushes.
2 active steps in the pipeline, the second one has a branch filter [master, ci/*]. However the first step wasn’t polled.
I’m going to delete the OAuth key, and redeploy the drone server. These are the logs and config I pulled out before I try to fix this.
docker-compose:
cat /docker-compose.yml
version: ‘2’
services:
drone-server:
image: drone/drone:0.8
ports:
- 80:8000
- 9000:9000
volumes:
- /var/lib/drone:/var/lib/drone/
- /etc/drone/key.pem:/etc/drone/key.pem
restart: always
environment:
- DRONE_OPEN=true
- DRONE_HOST=${DRONE_HOST}
- DRONE_BITBUCKET=true
- DRONE_BITBUCKET_CLIENT=${DRONE_BITBUCKET_CLIENT}
- DRONE_BITBUCKET_SECRET=${DRONE_BITBUCKET_SECRET}
- DRONE_DATABASE_DRIVER=mysql
- DRONE_DATABASE_DATASOURCE=${DRONE_DATABASE_DATASOURCE}
- DRONE_SECRET=${DRONE_SECRET}
And I didn’t look at the logs before when it was working, but I see the hook calling github api’s. I’m hoping this is just a naming thing, where the bitbucket integration is leveraging github code…
docker logs
[GIN-debug] POST /hook --> github.com/drone/drone/server.PostHook (12 handlers) [GIN-debug] POST /api/hook --> github.com/drone/drone/server.PostHook (12 handlers) [GIN-debug] GET /stream/events --> github.com/drone/drone/server.EventStreamSSE (12 handlers) [GIN-debug] GET /stream/logs/:owner/:name/:build/:number --> github.com/drone/drone/server.LogStreamSSE (15 handlers) [GIN-debug] GET /api/info/queue --> github.com/drone/drone/server.GetQueueInfo (13 handlers)
I don’t see a timestamp on the log entries…