dev-util/drone-runner-docker: Add ebuild for version 1.6.2
Package-Manager: Portage-3.0.9, Repoman-3.0.2
This commit is contained in:
parent
ec4cf3eec6
commit
4a1c1b1cef
4 changed files with 453 additions and 0 deletions
15
dev-util/drone-runner-docker/files/app.ini-1.6.2
Normal file
15
dev-util/drone-runner-docker/files/app.ini-1.6.2
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Drone docker runner configuration file. See
|
||||
# https://docs.drone.io/runner/docker/configuration/reference/ for a complete
|
||||
# list of configuration options.
|
||||
|
||||
# provides the hostname (and optional port) of your Drone server. The runner connects to the server at the host address to receive pipelines for execution.
|
||||
DRONE_RPC_HOST="drone.example.com"
|
||||
|
||||
# provides the protocol used to connect to your Drone server. The value must be either http or https.
|
||||
DRONE_RPC_PROTO="https"
|
||||
|
||||
# provides the shared secret used to authenticate with your Drone server. This must match the secret defined in your Drone server configuration.
|
||||
DRONE_RPC_SECRET="your-secret-goes-here"
|
||||
|
||||
# Optional string value configures HTTP port to bind to. default: :3000
|
||||
DRONE_HTTP_BIND=":3030"
|
|
@ -0,0 +1,19 @@
|
|||
[Unit]
|
||||
Description=drone.io docker runner
|
||||
Documentation=https://docs.drone.io/
|
||||
|
||||
After=docker.service
|
||||
After=network.target
|
||||
Requires=docker.service
|
||||
Requires=network.target
|
||||
|
||||
[Service]
|
||||
User=drone-runner-docker
|
||||
Group=drone-runner-docker
|
||||
|
||||
ExecStart=/usr/sbin/drone-runner-docker daemon /etc/drone-runner-docker/app.ini
|
||||
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue