No description
00f72ef206
The `Config.Services.Pubsub.Subscribe` is being initialized with the global Gin Context. This causes the publisher object to [hang at line 58](https://github.com/cncd/pubsub/blob/master/pub.go#L58) and the goroutine remains opened indefinetly, which can be a source of memory leak. Setting it to the locally defined ctx object correctly causes the goroutine to close when the function exits due to the deferred close. See https://discourse.drone.io/t/memory-leak-on-drone-server/1884 for further information. |
||
---|---|---|
.github | ||
cmd | ||
model | ||
plugins | ||
remote | ||
router | ||
server | ||
shared | ||
store | ||
vendor | ||
version | ||
.dockerignore | ||
.drone.sh | ||
.drone.yml | ||
.gitignore | ||
BUILDING | ||
Dockerfile | ||
Dockerfile.agent | ||
Dockerfile.agent.alpine | ||
Dockerfile.agent.linux.arm | ||
Dockerfile.agent.linux.arm64 | ||
Dockerfile.alpine | ||
LICENSE | ||
README.md |
Drone is a Continuous Delivery system built on container technology. Drone uses a simple YAML configuration file, a superset of docker-compose, to define and execute Pipelines inside Docker containers.
Sample Pipeline Configuration:
pipeline:
backend:
image: golang
commands:
- go get
- go build
- go test
frontend:
image: node:6
commands:
- npm install
- npm test
publish:
image: plugins/docker
repo: octocat/hello-world
tags: [ 1, 1.1, latest ]
registry: index.docker.io
notify:
image: plugins/slack
channel: developers
username: drone
Documentation and Other Links:
- Setup Documentation docs.drone.io/installation
- Usage Documentation docs.drone.io/getting-started
- Plugin Index plugins.drone.io
- Getting Help docs.drone.io/getting-help