Woodpecker is a community fork of the Drone CI system.
Find a file
Brad Rydzewski 34698d9aed Merge pull request #447 from Bugagazavr/exp-commit-info
Clickable commit information
2014-09-07 13:45:41 -07:00
client fixed restart client 2014-08-14 12:36:04 -07:00
cmd fixed restart client 2014-08-14 12:36:04 -07:00
debian/drone added a private mode flag for github enterprise, defaulted to true 2014-09-07 11:26:16 -07:00
plugin added a private mode flag for github enterprise, defaulted to true 2014-09-07 11:26:16 -07:00
server Merge pull request #447 from Bugagazavr/exp-commit-info 2014-09-07 13:45:41 -07:00
shared refactored plugin/remote and adapted @bugBugagazavr Gitlab code 2014-09-02 00:18:17 -07:00
.drone.yml experimental branch now uploading to S3 2014-08-02 10:50:02 -07:00
.gitignore moved drone build to cmd folder 2014-08-07 22:22:04 -07:00
AUTHORS updated README to include more branch details 2014-07-13 19:53:59 -07:00
Dockerfile updated Dockerfile 2014-07-17 22:25:30 -07:00
LICENSE initial public commit 2014-02-07 03:10:01 -07:00
Makefile refactored plugin/remote and adapted @bugBugagazavr Gitlab code 2014-09-02 00:18:17 -07:00
README.md added a private mode flag for github enterprise, defaulted to true 2014-09-07 11:26:16 -07:00
Vagrantfile Add Vagrantfile 2014-07-31 12:55:41 +04:00

Build Status GoDoc

System Requirements

  • Docker
  • AUFS

We highly recommend running Docker with the AUFS storage driver. You can verify Docker is using the AUFS storage driver with the following command sudo docker info | grep Driver:

Installation

We have optimized the installation process for Ubuntu since that is what we test with internally. You can run the following commands to quickly download an install Drone on an Ubuntu machine.

wget downloads.drone.io/exp/drone.deb
sudo dpkg -i drone.deb

Setup

We are in the process of moving configuration out of the UI and into configuration files and/or environment variables (your choice which). If you prefer configuration files you can provide Drone with the path to your configuration file:

./drone --config=/path/to/drone.conf

The configuration file is in TOML format:


[registration]
open=true

[github]
client=""
secret=""

[github_enterprise]
client=""
secret=""
api=""
url=""
private_mode=false

[bitbucket]
client=""
secret=""

[gitlab]
url=""

[smtp]
host=""
port=""
from=""
user=""
pass=""

Or you can use environment variables


# enable users to self-register
export DRONE_REGISTRATION_OPEN=false

# github configuration
export DRONE_GITHUB_CLIENT=""
export DRONE_GITHUB_SECRET=""

# github enterprise configuration
export DRONE_GITHUB_ENTERPRISE_CLIENT=""
export DRONE_GITHUB_ENTERPRISE_SECRET=""
export DRONE_GITHUB_ENTERPRISE_API=""
export DRONE_GITHUB_ENTERPRISE_URL=""
export DRONE_GITHUB_ENTERPRISE_PRIVATE_MODE=false

# bitbucket configuration
export DRONE_BITBUCKET_CLIENT=""
export DRONE_BITBUCKET_SECRET=""

# gitlab configuration
export DRONE_GITLAB_URL=""

# email configuration
export DRONE_SMTP_HOST=""
export DRONE_SMTP_PORT=""
export DRONE_SMTP_FROM=""
export DRONE_SMTP_USER=""
export DRONE_SMTP_PASS=""

Or a combination of the two:

DRONE_GITLAB_URL="https://gitlab.com" ./drone --config=/path/to/drone.conf

Compatibility Issues

WARNING

There were some fundamental changes to the application and we decided to introduce breaking changes to the dataabase. Migration would have been difficult and time consuming. Drone is an alpha product and therefore backward compatibility is not a primary goal until we hit a stable release. Apologizes for any inconvenience.