moving default Drone configuration to TOML files
This commit is contained in:
parent
167eb21b21
commit
5f4cf05fc7
3 changed files with 70 additions and 50 deletions
2
debian/drone/DEBIAN/conffiles
vendored
2
debian/drone/DEBIAN/conffiles
vendored
|
@ -1,2 +1,2 @@
|
||||||
/etc/init/drone.conf
|
/etc/init/drone.conf
|
||||||
/etc/default/drone
|
/etc/drone/drone.toml
|
||||||
|
|
49
debian/drone/etc/default/drone
vendored
49
debian/drone/etc/default/drone
vendored
|
@ -1,49 +0,0 @@
|
||||||
# Upstart configuration file for droned.
|
|
||||||
|
|
||||||
# Command line options:
|
|
||||||
#
|
|
||||||
# -datasource="drone.sqlite":
|
|
||||||
# -driver="sqlite3":
|
|
||||||
# -bind=":8080":
|
|
||||||
# -workers="4":
|
|
||||||
#
|
|
||||||
#DRONED_OPTS="--bind=:80"
|
|
||||||
|
|
||||||
# Email configuration
|
|
||||||
#DRONE_SMTP_HOST=
|
|
||||||
#DRONE_SMTP_PORT=
|
|
||||||
#DRONE_SMTP_FROM=
|
|
||||||
#DRONE_SMTP_USER=
|
|
||||||
#DRONE_SMTP_PASS=
|
|
||||||
|
|
||||||
# GitHub configuration
|
|
||||||
#DRONE_GITHUB_CLIENT=
|
|
||||||
#DRONE_GITHUB_SECRET=
|
|
||||||
|
|
||||||
# GitHub Enterprise configuration
|
|
||||||
#DRONE_GITHUB_ENTERPRISE_CLIENT=
|
|
||||||
#DRONE_GITHUB_ENTERPRISE_SECRET=
|
|
||||||
#DRONE_GITHUB_ENTERPRISE_URL=
|
|
||||||
#DRONE_GITHUB_ENTERPRISE_API=
|
|
||||||
#DRONE_GITHUB_ENTERPRISE_PRIVATE_MODE=false
|
|
||||||
|
|
||||||
# GitLab configuration
|
|
||||||
#DRONE_GITLAB_URL=
|
|
||||||
|
|
||||||
# Atlassian Bitbucket configuration
|
|
||||||
#DRONE_BITBUCKET_CLIENT=
|
|
||||||
#DRONE_BITBUCKET_SECRET=
|
|
||||||
|
|
||||||
# Atlassian Stash configuration
|
|
||||||
#DRONE_STASH_CLIENT=
|
|
||||||
#DRONE_STASH_SECRET=
|
|
||||||
#DRONE_STASH_URL=
|
|
||||||
#DRONE_STASH_API=
|
|
||||||
|
|
||||||
# Optional global configuration options.
|
|
||||||
#
|
|
||||||
# This allows you, for example, to set a default Hipchat token
|
|
||||||
# so that you don't need to specify in each .drone.yml file.
|
|
||||||
#DRONE_HIPCHAT_TOKEN=
|
|
||||||
#DRONE_SLACK_TOKEN=
|
|
||||||
#DRONE_ZAPIER_TOKEN=
|
|
69
debian/drone/etc/drone/drone.toml
vendored
Normal file
69
debian/drone/etc/drone/drone.toml
vendored
Normal file
|
@ -0,0 +1,69 @@
|
||||||
|
|
||||||
|
[server]
|
||||||
|
port=":80"
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
# SSL configuration for Drone. Provide you key and cert chain
|
||||||
|
# to server Drone over https.
|
||||||
|
#
|
||||||
|
# [server.ssl]
|
||||||
|
# key=""
|
||||||
|
# cert=""
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
# Database configuration for Drone, by default using SQLite3.
|
||||||
|
# You can also use postgres and mysql. See the documentation
|
||||||
|
# for more details.
|
||||||
|
|
||||||
|
[database]
|
||||||
|
driver="sqlite3"
|
||||||
|
source="/var/lib/drone/drone.sqlite"
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
# Open Registration allows users to self-register for Drone.
|
||||||
|
# This is recommended if Drone is being hosted behind a
|
||||||
|
# firewall.
|
||||||
|
#
|
||||||
|
# When false, the system admin will need to manually add
|
||||||
|
# users to Drone through the admin screens.
|
||||||
|
#
|
||||||
|
# [registration]
|
||||||
|
# open=true
|
||||||
|
|
||||||
|
# [github]
|
||||||
|
# client=""
|
||||||
|
# secret=""
|
||||||
|
|
||||||
|
# [github_enterprise]
|
||||||
|
# client=""
|
||||||
|
# secret=""
|
||||||
|
# api=""
|
||||||
|
# url=""
|
||||||
|
# private_mode=false
|
||||||
|
|
||||||
|
# [bitbucket]
|
||||||
|
# client=""
|
||||||
|
# secret=""
|
||||||
|
|
||||||
|
# [gitlab]
|
||||||
|
# url=""
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
# SMTP configuration for Drone. This is required if you plan
|
||||||
|
# to send email notifications for build statuses.
|
||||||
|
#
|
||||||
|
# [smtp]
|
||||||
|
# host=""
|
||||||
|
# port=""
|
||||||
|
# from=""
|
||||||
|
# user=""
|
||||||
|
# pass=""
|
||||||
|
|
||||||
|
# [worker]
|
||||||
|
# nodes=[
|
||||||
|
# "unix:///var/run/docker.sock",
|
||||||
|
# "unix:///var/run/docker.sock"
|
||||||
|
# ]
|
Loading…
Reference in a new issue