diff --git a/defaults/main.yml b/defaults/main.yml index a609eb6..eb9195b 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,5 +1,5 @@ --- -gitea_version: 1.11.0 +gitea_version: 1.16.1 gitea_user: "gitea_adm" gitea_user_home: "/home/{{ gitea_user }}" gitea_group: "{{ gitea_user }}" @@ -246,6 +246,9 @@ gitea_footer_show_template_load_time: False gitea_extra_links_footer: [] gitea_extra_links: [] +gitea_webhook_allowed_host_list: + - external + gitea_oauth_provider_enabled: False gitea_access_token_expiration_time: 3600 gitea_refresh_token_expiration_time: 730 diff --git a/templates/custom/conf/app.ini.j2 b/templates/custom/conf/app.ini.j2 index 46ccacd..f5df55e 100644 --- a/templates/custom/conf/app.ini.j2 +++ b/templates/custom/conf/app.ini.j2 @@ -127,6 +127,12 @@ REPO_INDEXER_PATH = {{ gitea_data_dir }}/indexers/repos.bleve DISABLE_REGULAR_ORG_CREATION = {{ 'false' if gitea_org_creation_enabled | bool else 'true' }} DEFAULT_EMAIL_NOTIFICATIONS = {{ gitea_default_email_notification }} +[webhook] +QUEUE_LENGTH = 1000 +DELIVER_TIMEOUT = 5 +ALLOWED_HOST_LIST = {{ gitea_webhook_allowed_host_list | join(",") }} +SKIP_TLS_VERIFY = false + [security] INSTALL_LOCK = {{ gitea_install_lock | bool | lower }} SECRET_KEY = {{ gitea_secret }}