No description
Find a file
Henrik Jonsson 8197942f69 Enable vendoring for github.com/go-swagger dependency
Building in a Docker container based on `golang` doesn't work at `427560a`: C.f 2d37d66e2d
2015-11-10 19:50:36 +01:00
cache improvements to middleware and URL resolver 2015-10-21 14:31:53 -07:00
contrib generating documentation 2015-10-07 11:35:35 -07:00
controller ability to fork-exec and existing build 2015-11-05 18:45:13 -08:00
docs Adding more documentation to the swagger 2015-11-06 13:23:05 -08:00
engine didn't realize gin supports net.Context. Change to support Context pattern! 2015-10-21 16:14:02 -07:00
model added scm and deploy fields. plan to support hg, github deploys 2015-10-27 13:03:37 -07:00
remote Add tag event support in Gitlab remote 2015-11-02 04:31:42 +01:00
router implements Stringer for store and remotes 2015-10-27 16:48:05 -07:00
shared didn't realize gin supports net.Context. Change to support Context pattern! 2015-10-21 16:14:02 -07:00
static fixed some formatting issues with API docs [CI SKIP] 2015-10-28 11:47:41 -07:00
store added an endpoint to fetch the last build for a given branch 2015-10-28 11:50:11 -07:00
template correct cc menu link 2015-10-30 15:15:45 -04:00
vendor updated postgres dependency to fix #1259 2015-10-27 10:14:23 -07:00
yaml updated vendor files and paths 2015-09-29 18:21:17 -07:00
.drone.sec enable multi-tagging the image for latest and 0.4 2015-10-27 18:34:33 -07:00
.drone.yml enable multi-tagging the image for latest and 0.4 2015-10-27 18:34:33 -07:00
.gitignore fix issue w/ missing gogs client deps 2015-10-22 17:03:07 -07:00
Dockerfile set defaults database and driver in Dockerfile 2015-10-20 16:44:36 -07:00
Dockerfile.env use a custom build image to avoid compiling sass and sqlite every time 2015-10-25 17:44:06 -07:00
drone.go didn't realize gin supports net.Context. Change to support Context pattern! 2015-10-21 16:14:02 -07:00
LICENSE initial public commit 2014-02-07 03:10:01 -07:00
Makefile Enable vendoring for github.com/go-swagger dependency 2015-11-10 19:50:36 +01:00
README.md fixed badge color [CI SKIP] 2015-10-30 13:55:50 -07:00

Build Status Release Status Gitter

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

Please 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/mattn/go-sqlite3