diff options
Diffstat (limited to 'dev-util/drone/files')
-rw-r--r-- | dev-util/drone/files/drone-agent.confd | 19 | ||||
-rw-r--r-- | dev-util/drone/files/drone-agent.initd | 14 | ||||
-rw-r--r-- | dev-util/drone/files/drone-server.confd | 47 | ||||
-rw-r--r-- | dev-util/drone/files/drone-server.initd | 14 | ||||
-rw-r--r-- | dev-util/drone/files/drone.confd | 47 | ||||
-rw-r--r-- | dev-util/drone/files/drone.initd | 14 |
6 files changed, 155 insertions, 0 deletions
diff --git a/dev-util/drone/files/drone-agent.confd b/dev-util/drone/files/drone-agent.confd new file mode 100644 index 000000000000..bfe82b16c756 --- /dev/null +++ b/dev-util/drone/files/drone-agent.confd @@ -0,0 +1,19 @@ +# arguments for drone-agent +# See also http://readme.drone.io/admin/installation-reference/ +#DRONE_SERVER= +#DRONE_SECRET= +#DRONE_DEBUG=false +#DRONE_BACKOFF=15s +#DRONE_TIMEOUT=15m +#DRONE_MAX_LOGS=5 +#DRONE_PLUGIN_PULL=true +#DRONE_PLUGIN_PRIVILEGED +#DOCKER_HOST +#DOCKER_TLS_VERIFY +#DOCKER_CERT_PATH +#DOCKER_MAX_PROCS=2 +#DOCKER_OS=linux +#DOCKER_ARCH=amd64 +#HTTP_PROXY= +#HTTPS_PROXY= +#NO_PROXY= diff --git a/dev-util/drone/files/drone-agent.initd b/dev-util/drone/files/drone-agent.initd new file mode 100644 index 000000000000..d14b11f80d33 --- /dev/null +++ b/dev-util/drone/files/drone-agent.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# Copyright 2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="Drone CI Agent" +pidfile=${pidfile:-"/run/drone/${SVCNAME}.pid"} +user=${user:-drone} +group=${group:-drone} + +command="/usr/bin/drone-agent" +command_background="true" +start_stop_daemon_args="--user ${user} --group ${group} \ + --stdout /var/log/drone/${SVCNAME}.log \ + --stderr /var/log/drone/${SVCNAME}.log" diff --git a/dev-util/drone/files/drone-server.confd b/dev-util/drone/files/drone-server.confd new file mode 100644 index 000000000000..3d4fd461402d --- /dev/null +++ b/dev-util/drone/files/drone-server.confd @@ -0,0 +1,47 @@ +# arguments for drone +# See also http://readme.drone.io/admin/installation-reference/ +#DRONE_SECRET= +#DRONE_DEBUG=false +#DRONE_SERVER_CERT= +#DRONE_SERVER_KEY= +#DRONE_ADMIN= +#DRONE_ORGS= +#DRONE_OPEN=false +#DRONE_YAML=.drone.yml +#DRONE_CACHE_TTY=15m +DRONE_DATABASE_DRIVER=sqlite3 +DRONE_DATABASE_DATASOURCE="/var/lib/drone/drone.sqlite" +DRONE_GITHUB=true +#DRONE_GITHUB_URL=https://github.com +#DRONE_GITHUB_CLIENT= +#DRONE_GITHUB_SECRET= +#DRONE_GITHUB_SCOPE= +#DRONE_GITHUB_GIT_USERNAME= +#DRONE_GITHUB_GIT_PASSWORD= +#DRONE_GITHUB_PRIVATE_MODE=false +#DRONE_GITHUB_MERGE_REF=true +#DRONE_GITHUB_CONTEXT=continuous-integration/drone +#DRONE_GITHUB_SKIP_VERIFY=false +#DRONE_GOGS=false +#DRONE_GOGS_URL= +#DRONE_GOGS_GIT_USERNAME= +#DRONE_GOGS_GIT_PASSWORD= +#DRONE_GOGS_PRIVATE_MODE= +#DRONE_GOGS_SKIP_VERIFY=false +#DRONE_BITBUCKET=false +#DRONE_BITBUCKET_CLIENT= +#DRONE_BITBUCKET_SECRET= +#DRONE_STASH=false +#DRONE_STASH_URL= +#DRONE_STASH_CONSUMER_KEY= +#DRONE_STASH_CONSUMER_RSA= +#DRONE_STASH_GIT_USERNAME= +#DRONE_STASH_GIT_PASSWORD= +#DRONE_GITLAB=false +#DRONE_GITLAB_URL=https://gitlab.com +#DRONE_GITLAB_CLIENT= +#DRONE_GITLAB_SECRET= +#DRONE_GITLAB_GIT_USERNAME= +#DRONE_GITLAB_GIT_PASSWORD= +#DRONE_GITLAB_SKIP_VERIFY=false +#DRONE_GITLAB_PRIVATE_MODE=false diff --git a/dev-util/drone/files/drone-server.initd b/dev-util/drone/files/drone-server.initd new file mode 100644 index 000000000000..fe87c713db9e --- /dev/null +++ b/dev-util/drone/files/drone-server.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# Copyright 2016-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="Drone CI" +pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} +user=${user:-drone} +group=${group:-drone} + +command="/usr/bin/drone-server" +command_background="true" +start_stop_daemon_args="--user ${user} --group ${group} \ + --stdout /var/log/${SVCNAME}/${SVCNAME}.log \ + --stderr /var/log/${SVCNAME}/${SVCNAME}.log" diff --git a/dev-util/drone/files/drone.confd b/dev-util/drone/files/drone.confd new file mode 100644 index 000000000000..3d4fd461402d --- /dev/null +++ b/dev-util/drone/files/drone.confd @@ -0,0 +1,47 @@ +# arguments for drone +# See also http://readme.drone.io/admin/installation-reference/ +#DRONE_SECRET= +#DRONE_DEBUG=false +#DRONE_SERVER_CERT= +#DRONE_SERVER_KEY= +#DRONE_ADMIN= +#DRONE_ORGS= +#DRONE_OPEN=false +#DRONE_YAML=.drone.yml +#DRONE_CACHE_TTY=15m +DRONE_DATABASE_DRIVER=sqlite3 +DRONE_DATABASE_DATASOURCE="/var/lib/drone/drone.sqlite" +DRONE_GITHUB=true +#DRONE_GITHUB_URL=https://github.com +#DRONE_GITHUB_CLIENT= +#DRONE_GITHUB_SECRET= +#DRONE_GITHUB_SCOPE= +#DRONE_GITHUB_GIT_USERNAME= +#DRONE_GITHUB_GIT_PASSWORD= +#DRONE_GITHUB_PRIVATE_MODE=false +#DRONE_GITHUB_MERGE_REF=true +#DRONE_GITHUB_CONTEXT=continuous-integration/drone +#DRONE_GITHUB_SKIP_VERIFY=false +#DRONE_GOGS=false +#DRONE_GOGS_URL= +#DRONE_GOGS_GIT_USERNAME= +#DRONE_GOGS_GIT_PASSWORD= +#DRONE_GOGS_PRIVATE_MODE= +#DRONE_GOGS_SKIP_VERIFY=false +#DRONE_BITBUCKET=false +#DRONE_BITBUCKET_CLIENT= +#DRONE_BITBUCKET_SECRET= +#DRONE_STASH=false +#DRONE_STASH_URL= +#DRONE_STASH_CONSUMER_KEY= +#DRONE_STASH_CONSUMER_RSA= +#DRONE_STASH_GIT_USERNAME= +#DRONE_STASH_GIT_PASSWORD= +#DRONE_GITLAB=false +#DRONE_GITLAB_URL=https://gitlab.com +#DRONE_GITLAB_CLIENT= +#DRONE_GITLAB_SECRET= +#DRONE_GITLAB_GIT_USERNAME= +#DRONE_GITLAB_GIT_PASSWORD= +#DRONE_GITLAB_SKIP_VERIFY=false +#DRONE_GITLAB_PRIVATE_MODE=false diff --git a/dev-util/drone/files/drone.initd b/dev-util/drone/files/drone.initd new file mode 100644 index 000000000000..a7219c7d7612 --- /dev/null +++ b/dev-util/drone/files/drone.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# Copyright 2016-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="Drone CI" +pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} +user=${user:-${SVCNAME}} +group=${group:-${SVCNAME}} + +command="/usr/bin/drone-server server" +command_background="true" +start_stop_daemon_args="--user ${user} --group ${group} \ + --stdout /var/log/${SVCNAME}/${SVCNAME}.log \ + --stderr /var/log/${SVCNAME}/${SVCNAME}.log" |