added dronerc to project

This commit is contained in:
Brad Rydzewski 2015-08-12 00:25:19 -07:00
parent 98668f1141
commit 35d05b0cce
2 changed files with 35 additions and 8 deletions

12
.gitignore vendored
View file

@ -2,11 +2,6 @@ drone.sublime-project
drone.sublime-workspace
.vagrant
# ignore the drone binary, but makes sure
# that subdirs named drone aren't ignored
drone
!dist/**
*~
~*
*.sqlite
@ -22,16 +17,17 @@ drone
*.min.js
*_bindata.go
*.toml
!dist/drone/etc/drone/dronerc
!dist/drone/etc/drone/drone.toml
# generate binaries
cmd/drone-agent/drone-agent
cmd/drone-build/drone-build
cmd/drone-agent/drone-server
# generated binaries
# generated binaries in ./bin
bin/drone
bin/drone-agent
bin/drone-build
bin/drone-server
# generated binaries in dpkg
dist/drone/usr/local/bin/drone

31
dist/drone/etc/drone/dronerc vendored Normal file
View file

@ -0,0 +1,31 @@
#!/bin/bash
# server configuration
SERVER_ADDR=":80"
#SERVER_CERT=""
#SERVER_KEY=""
# database configuration
DATABASE_DRIVER="sqlite3"
DATABASE_CONFIG="/var/lib/drone/drone.sqlite"
# remote configuration
CLIENT="" # oauth2 client. REQUIRED
SECRET="" # oauth2 secret. REQUIRED
REMOTE_DRIVER="github"
REMOTE_CONFIG="https://github.com?client_id=$CLIENT&client_secret=$SECRET"
# docker configuration
DOCKER_HOST="unix:///var/run/docker.sock"
#DOCKER_CERT=""
#DOCKER_KEY=""
#DOCKER_CA=""
# plugin configuration
PLUGIN_FILTER="plugins/*"