From 1235775ed0c7439398758e9455fe7c1fe9ec4aaf Mon Sep 17 00:00:00 2001 From: Nemo <commits@captnemo.in> Date: Wed, 02 Feb 2022 19:03:28 +0530 Subject: [PATCH] upgrade gitea to 1.16 --- gitea/data.tf | 3 +-- gitea/conf/conf.ini.tpl | 9 +++++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gitea/data.tf b/gitea/data.tf index 61be64b..562091a 100644 --- a/gitea/data.tf +++ a/gitea/data.tf @@ -1,6 +1,6 @@ # https://github.com/go-gitea/gitea/releases data "docker_registry_image" "gitea" { - name = "gitea/gitea:1.15" + name = "gitea/gitea:1.16" } data "docker_registry_image" "redis" { @@ -19,4 +19,3 @@ oauth2-jwt-secret = var.oauth2-jwt-secret } } - diff --git a/gitea/conf/conf.ini.tpl b/gitea/conf/conf.ini.tpl index fa21d27..5cc7f0a 100644 --- a/gitea/conf/conf.ini.tpl +++ a/gitea/conf/conf.ini.tpl @@ -214,7 +214,7 @@ [cron.archive_cleanup] RUN_AT_START = true -SCHEDULE = @every 24h +SCHEDULE = @midnight ; Archives created more than OLDER_THAN ago are subject to deletion OLDER_THAN = 24h @@ -225,7 +225,7 @@ ; Repository health check [cron.repo_health_check] -SCHEDULE = @every 24h +SCHEDULE = @midnight TIMEOUT = 60s ; Arguments for command 'git fsck', e.g. "--unreachable --tags" ; see more on http://git-scm.com/docs/git-fsck @@ -234,7 +234,7 @@ ; Check repository statistics [cron.check_repo_stats] RUN_AT_START = true -SCHEDULE = @every 24h +SCHEDULE = @midnight [api] ; Max number of items will response in a page @@ -259,3 +259,6 @@ ENABLE = false ; this is same as JWT secret above JWT_SECRET = "${oauth2-jwt-secret}" + +[federation] +ENABLED=false -- rgit 0.1.5