Woodpecker is a community fork of the Drone CI system.
Go to file
2015-05-29 23:11:49 -06:00
bin fixed gitignore of dist folder 2015-05-17 12:18:03 -07:00
cmd Replace pkg/settings with pkg/config 2015-05-29 23:00:01 -06:00
dist updated docs to 0.4 download link 2015-05-25 15:41:01 -07:00
doc updated docs to 0.4 download link 2015-05-25 15:41:01 -07:00
Godeps moved to Godep with path rewrite 2015-05-22 11:37:40 -07:00
pkg Finish removal of pkg/settings 2015-05-29 23:11:49 -06:00
.drone.yml generate packaging in yaml 2015-05-25 15:30:22 -07:00
.gitignore moved to central copy function 2015-05-17 19:25:53 -07:00
Dockerfile adding code for a drone build agent 2015-05-18 10:05:58 -07:00
LICENSE initial public commit 2014-02-07 03:10:01 -07:00
Makefile Merge remote-tracking branch 'upstream/0.4.0' into 0.4.0 2015-05-23 18:53:11 -07:00
README.md Finish removal of pkg/settings 2015-05-29 23:11:49 -06:00

Highly experimental branch that implements the following features:

  • Pluggable database backends
  • Pluggable queue
  • Matrix builds
  • Build plugins
  • New Yaml syntax
  • and more ...

Running Drone:

./drone --config="/path/to/config.toml"

Configuring Drone:

[server]
addr = ":80"
cert = ""
key = ""

[session]
secret = ""
expires = ""

[database]
path = "/etc/drone/drone.db"

[docker]
cert = ""
key = ""
addr = "unix:///var/run/docker.sock"
swarm = ""

[service]
kind = "github"
base = "https://github.com"
orgs = []
open = false
private = false
skip_verify = true

[auth]
client = ""
secret = ""
authorize = "https://github.com/login/oauth/authorize"
access_token = "https://github.com/login/oauth/access_token"
request_token = ""

[agents]
secret = ""

Configuration settings can also be set by environment variables using the scheme DRONE_<section>_<confkey>, substituting the section title for <section> and the key for <confkey>, in all caps. For example:

#!/bin/bash
# prepare environment for executing drone
DRONE_DOCKER_ADDR="tcp://10.0.0.1:2375"     # for [docker] section, 'addr' setting
DRONE_AUTH_CLIENT="0123456789abcdef0123AA"  # for [auth] section, 'client' setting
DRONE_AUTH_SECRET="<sha-1 hash secret>"     # for [auth] section, 'secret' setting

exec ./drone -config=drone.toml

NOTE: Configuration settings from environment variables override values set in the TOML file.