I posted this wrong I think. Seems I don’t the the exit code 1
when I mount the docker socket. Is it preferred to not share the docker socket when building images with drone? And is there anything I need to do for the drone-agent to run DinD, like privileged: true?
pipeline:
publish:
debug: true
image: plugins/ecr
repo: xxxxxxxxxxxx.dkr.ecr.us-east-1.amazonaws.com/my-awesome-app
tags:
- latest
create_repository: true
{"time":"2017-11-21T17:36:31Z","level":"debug","message":"request next execution"}
{"time":"2017-11-21T17:36:39Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","message":"received execution"}
{"time":"2017-11-21T17:36:39Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","message":"listen for cancel signal"}
{"time":"2017-11-21T17:36:39Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/git:latest","stage":"clone","exit_code":0,"exited":false,"message":"update step status"}
{"time":"2017-11-21T17:36:39Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/git:latest","stage":"clone","exit_code":0,"exited":false,"message":"update step status complete"}
{"time":"2017-11-21T17:36:40Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/git:latest","stage":"clone","message":"log stream opened"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/git:latest","stage":"clone","message":"log stream copied"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/git:latest","stage":"clone","message":"log stream uploading"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/git:latest","stage":"clone","message":"log stream upload complete"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/git:latest","stage":"clone","message":"log stream closed"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/git:latest","stage":"clone","exit_code":0,"exited":true,"message":"update step status"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/git:latest","stage":"clone","exit_code":0,"exited":true,"message":"update step status complete"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/ecr:latest","stage":"publish","exit_code":0,"exited":false,"message":"update step status"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/ecr:latest","stage":"publish","exit_code":0,"exited":false,"message":"update step status complete"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/ecr:latest","stage":"publish","message":"log stream opened"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/ecr:latest","stage":"publish","message":"log stream copied"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/ecr:latest","stage":"publish","message":"log stream uploading"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/ecr:latest","stage":"publish","message":"log stream upload complete"}
{"time":"2017-11-21T17:36:41Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/ecr:latest","stage":"publish","message":"log stream closed"}
{"time":"2017-11-21T17:36:42Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/ecr:latest","stage":"publish","exit_code":1,"exited":true,"message":"update step status"}
{"time":"2017-11-21T17:36:42Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","image":"plugins/ecr:latest","stage":"publish","exit_code":1,"exited":true,"message":"update step status complete"}
{"time":"2017-11-21T17:36:42Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","error":"","exit_code":1,"message":"pipeline complete"}
{"time":"2017-11-21T17:36:42Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","message":"uploading logs"}
{"time":"2017-11-21T17:36:42Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","message":"uploading logs complete"}
{"time":"2017-11-21T17:36:42Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","error":"","exit_code":1,"message":"updating pipeline status"}
{"time":"2017-11-21T17:36:42Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","message":"stop listening for cancel signal"}
{"time":"2017-11-21T17:36:42Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","message":"updating pipeline status complete"}
{"time":"2017-11-21T17:36:42Z","level":"debug","message":"request next execution"}
{"time":"2017-11-21T17:36:42Z","level":"debug","repo":"me/my-awesome-app","build":"2239","id":"9407","message":"pipeline done"}