From 1e9124ef510ee4985eb976b0aa1f1f3be678632e Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 14 Jan 2021 09:59:04 +0000 Subject: [PATCH] commit a8939e3c832908081092a9dde8e241a6ea2732f9 Author: Robert Kaussow Date: Thu Jan 14 10:50:32 2021 +0100 add github auth option --- index.md | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 62 insertions(+), 3 deletions(-) diff --git a/index.md b/index.md index fccf7b7..4b1550f 100644 --- a/index.md +++ b/index.md @@ -20,9 +20,12 @@ Setup [Drone CI](https://drone.io/) base server. Drone is a Continuous Delivery * [droneci_docker_socket_path](#droneci_docker_socket_path) * [droneci_exposed_ports](#droneci_exposed_ports) * [droneci_extra_hosts](#droneci_extra_hosts) - * [droneci_gitea_enabled](#droneci_gitea_enabled) + * [droneci_gitea_oauth_client_id](#droneci_gitea_oauth_client_id) + * [droneci_gitea_oauth_client_secret](#droneci_gitea_oauth_client_secret) * [droneci_gitea_server](#droneci_gitea_server) * [droneci_gitea_skip_verify](#droneci_gitea_skip_verify) + * [droneci_github_client_id](#droneci_github_client_id) + * [droneci_github_client_secret](#droneci_github_client_secret) * [droneci_host](#droneci_host) * [droneci_http_proxy](#droneci_http_proxy) * [droneci_https_proxy](#droneci_https_proxy) @@ -35,9 +38,11 @@ Setup [Drone CI](https://drone.io/) base server. Drone is a Continuous Delivery * [droneci_no_proxy](#droneci_no_proxy) * [droneci_prometheus_anonymous_access](#droneci_prometheus_anonymous_access) * [droneci_restart_policy](#droneci_restart_policy) + * [droneci_scm_provider](#droneci_scm_provider) * [droneci_secret](#droneci_secret) * [droneci_service_directory](#droneci_service_directory) * [droneci_service_stopped](#droneci_service_stopped) + * [droneci_user_filter](#droneci_user_filter) * [droneci_version](#droneci_version) * [droneci_volumes](#droneci_volumes) * [Dependencies](#dependencies) @@ -143,12 +148,32 @@ droneci_exposed_ports: droneci_extra_hosts: [] ``` -### droneci_gitea_enabled +### droneci_gitea_oauth_client_id #### Default value ```YAML -droneci_gitea_enabled: false +droneci_gitea_oauth_client_id: _unset_ +``` + +#### Example usage + +```YAML +droneci_gitea_oauth_client_id: 1111-222-33333-44444 +``` + +### droneci_gitea_oauth_client_secret + +#### Default value + +```YAML +droneci_gitea_oauth_client_secret: _unset_ +``` + +#### Example usage + +```YAML +droneci_gitea_oauth_client_secret: 1234abcd5678efgh ``` ### droneci_gitea_server @@ -167,6 +192,22 @@ droneci_gitea_server: http://my-git.example.com droneci_gitea_skip_verify: false ``` +### droneci_github_client_id + +#### Default value + +```YAML +droneci_github_client_id: _unset_ +``` + +### droneci_github_client_secret + +#### Default value + +```YAML +droneci_github_client_secret: _unset_ +``` + ### droneci_host #### Default value @@ -288,6 +329,16 @@ droneci_prometheus_anonymous_access: false droneci_restart_policy: always ``` +### droneci_scm_provider + +SCM provider to use with Drone (gitea|github) + +#### Default value + +```YAML +droneci_scm_provider: none +``` + ### droneci_secret #### Default value @@ -312,6 +363,14 @@ droneci_service_directory: /var/lib/docker/services/droneci droneci_service_stopped: false ``` +### droneci_user_filter + +#### Default value + +```YAML +droneci_user_filter: [] +``` + ### droneci_version #### Default value