.github | ||
cmd/drone-server | ||
core | ||
docker | ||
handler | ||
livelog | ||
logger | ||
metric | ||
mock | ||
operator | ||
plugin | ||
pubsub | ||
scheduler | ||
scripts | ||
server | ||
service | ||
session | ||
store | ||
trigger | ||
version | ||
web | ||
.dockerignore | ||
.drone.yml | ||
.github_changelog_generator | ||
.gitignore | ||
BUILDING | ||
BUILDING_OSS | ||
CHANGELOG.md | ||
go.mod | ||
go.sum | ||
HISTORY.md | ||
LICENSE | ||
NOTICE | ||
Taskfile.yml |
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:
name: default
kind: pipeline
type: docker
steps:
- name: backend
image: golang
commands:
- go get
- go build
- go test
- name: frontend
image: node:6
commands:
- npm install
- npm test
- name: publish
image: plugins/docker
settings:
repo: octocat/hello-world
tags: [ 1, 1.1, latest ]
registry: index.docker.io
- name: notify
image: plugins/slack
settings:
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 discourse.drone.io
- Build the Enterprise Edition BUILDING
- Build the Community Edition BUILDING_OSS
Please note the official Docker images run the Drone Enterprise distribution. If you would like to run the Community Edition you can build from source by following the instructions in BUILDING_OSS.
Release procedure
Run the changelog generator.
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u drone -p drone -t <secret github token>
You can generate a token by logging into your GitHub account and going to Settings -> Personal access tokens.
Next we tag the PR's with the fixes or enhancements labels. If the PR does not fufil the requirements, do not add a label.
Run the changelog generator again with the future version according to semver.
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u drone -p drone -t <secret token> --future-release v1.0.0
Create your pull request for the release. Get it merged then tag the release.