added dronerc to project
This commit is contained in:
parent
98668f1141
commit
35d05b0cce
2 changed files with 35 additions and 8 deletions
12
.gitignore
vendored
12
.gitignore
vendored
|
@ -2,11 +2,6 @@ drone.sublime-project
|
||||||
drone.sublime-workspace
|
drone.sublime-workspace
|
||||||
.vagrant
|
.vagrant
|
||||||
|
|
||||||
# ignore the drone binary, but makes sure
|
|
||||||
# that subdirs named drone aren't ignored
|
|
||||||
drone
|
|
||||||
!dist/**
|
|
||||||
|
|
||||||
*~
|
*~
|
||||||
~*
|
~*
|
||||||
*.sqlite
|
*.sqlite
|
||||||
|
@ -22,16 +17,17 @@ drone
|
||||||
*.min.js
|
*.min.js
|
||||||
*_bindata.go
|
*_bindata.go
|
||||||
*.toml
|
*.toml
|
||||||
!dist/drone/etc/drone/dronerc
|
|
||||||
!dist/drone/etc/drone/drone.toml
|
|
||||||
|
|
||||||
# generate binaries
|
# generate binaries
|
||||||
cmd/drone-agent/drone-agent
|
cmd/drone-agent/drone-agent
|
||||||
cmd/drone-build/drone-build
|
cmd/drone-build/drone-build
|
||||||
cmd/drone-agent/drone-server
|
cmd/drone-agent/drone-server
|
||||||
|
|
||||||
# generated binaries
|
# generated binaries in ./bin
|
||||||
bin/drone
|
bin/drone
|
||||||
bin/drone-agent
|
bin/drone-agent
|
||||||
bin/drone-build
|
bin/drone-build
|
||||||
bin/drone-server
|
bin/drone-server
|
||||||
|
|
||||||
|
# generated binaries in dpkg
|
||||||
|
dist/drone/usr/local/bin/drone
|
||||||
|
|
31
dist/drone/etc/drone/dronerc
vendored
Normal file
31
dist/drone/etc/drone/dronerc
vendored
Normal 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/*"
|
Loading…
Reference in a new issue