drone/README.md

35 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2021-04-05 21:33:17 +02:00
Drone
2021-04-05 21:12:08 +02:00
=========
2021-04-05 21:36:31 +02:00
2021-04-05 21:33:17 +02:00
Docker based installation of Drone.io and Docker Drone Runner
2021-04-05 21:12:08 +02:00
Requirements
------------
2021-04-05 21:33:17 +02:00
Docker needs to be available on target machine.
2021-04-05 21:12:08 +02:00
Role Variables
--------------
2021-04-05 21:33:17 +02:00
| Variable | Description | Default |
| ------------------------------------- | --------------------------------------------------------------- | ----------------------- |
| `letsencrypt.staging` | Create staging certificate. | true |
| `letsencrypt.email` | Email address to declare when creating certificate. | "" |
| `drone_env.DRONE_GITEA_SERVER` | Gitea server to connect to. | https://git.example.com |
| `drone_env.DRONE_GITEA_CLIENT_ID` | Client ID for gitea server | no_valid_id |
| `drone_env.DRONE_GITEA_CLIENT_SECRET` | Client secret used to conntect to gitea server | very_secret |
| `drone_env.DRONE_RPC_SECRET` | Secret for drone runners to use when connecting to drone server | even_more_secret |
2021-04-05 21:12:08 +02:00
Example Playbook
----------------
2021-04-05 21:33:17 +02:00
- hosts: drone
2021-04-05 21:12:08 +02:00
roles:
2021-04-05 21:33:17 +02:00
- { role: drone, tags: [drone] }
2021-04-05 21:12:08 +02:00
License
-------
2021-04-05 21:33:17 +02:00
MIT