Woodpecker is a community fork of the Drone CI system.
Find a file
2015-10-20 16:44:36 -07:00
contrib generating documentation 2015-10-07 11:35:35 -07:00
controller code that verifies the Docker daemon connection before adding 2015-10-19 17:46:58 -07:00
docs improving installation docs 2015-10-07 17:17:15 -07:00
engine code that verifies the Docker daemon connection before adding 2015-10-19 17:46:58 -07:00
model unit testing postgres, mysql. temporary workaround for backticks 2015-10-20 00:08:09 -07:00
remote ability to get remote from context 2015-10-19 17:57:21 -07:00
router working on the homage page 2015-10-15 15:40:27 -07:00
shared unit testing postgres, mysql. temporary workaround for backticks 2015-10-20 00:08:09 -07:00
static code that verifies the Docker daemon connection before adding 2015-10-19 17:46:58 -07:00
template filter list using the full name 2015-10-15 15:54:19 -07:00
vendor updated docs to not include drone javascript files when generated 2015-10-07 15:36:46 -07:00
yaml updated vendor files and paths 2015-09-29 18:21:17 -07:00
.drone.sec unit testing postgres, mysql. temporary workaround for backticks 2015-10-20 00:08:09 -07:00
.drone.yml unit testing postgres, mysql. temporary workaround for backticks 2015-10-20 00:08:09 -07:00
.gitignore temporarily allow css files since sassc isn't part of the build process 2015-09-29 18:26:46 -07:00
Dockerfile set defaults database and driver in Dockerfile 2015-10-20 16:44:36 -07:00
Dockerfile.env switch to /bin/sh instead of /bin/bash for portability 2015-06-06 14:00:36 -07:00
drone.go cleaning up the middleware and adding caching with TTL 2015-10-13 02:08:08 -07:00
LICENSE initial public commit 2014-02-07 03:10:01 -07:00
Makefile unit testing postgres, mysql. temporary workaround for backticks 2015-10-20 00:08:09 -07:00
README.md Update README.md 2015-10-08 07:06:42 -07:00

WARNING the 0.4 branch is very unstable. We only recommend running this branch if you plan to dig into the codebase, troubleshoot issues and contribute (please do!). We will notify the broader community once this branch is more stable.

Drone is a Continuous Integration platform built on container technology. Every build is executed inside an ephemeral Docker container, giving developers complete control over their build environment with guaranteed isolation.

Goals

Drone's prime directive is to help teams ship code like GitHub. Drone is easy to install, setup and maintain and offers a powerful container-based plugin system. Drone aspires to be an industry-wide replacement for Jenkins.

Documentation

Drone documentation is organized into several categories:

Community, Help

Contributions, questions, and comments are welcomed and encouraged. Drone developers hang out in the drone/drone room on gitter. We ask that you please post your questions to gitter before creating an issue.

Cloning, Building, Running

If you are new to Go, make sure you install Go 1.5+ and setup your workspace (ie $GOPATH). Go programs use directory structure for package imports, therefore, it is very important you clone this project to the specified directory in your Go path:

git clone git://github.com/drone/drone.git $GOPATH/src/github.com/drone/drone
cd $GOPATH/src/github.com/drone/drone

Pleasure ensure your local environment has the following dependencies installed. We provide scripts in the ./contrib folder as a convenience that can be used to install:

  • libsqlite3
  • sassc

Commands to build from source:

export GO15VENDOREXPERIMENT=1

make deps    # Download required dependencies
make gen     # Generate code
make build   # Build the binary

Commands for development:

make gen_static     # Generate static content
make gen_template   # Generate templates from amber files
make gen_migrations # Generate embedded database migrations
make vet            # Execute go vet command
make fmt            # Execute go fmt command

Commands to start drone:

drone
drone --debug # Debug mode enables more verbose logging

If you are seeing slow compile times please install the following:

go install github.com/drone/drone/Godeps/_workspace/src/github.com/mattn/go-sqlite3