🏡 index : github.com/captn3m0/nebula.git

author Nemo <commits@captnemo.in> 2022-02-02 19:03:28.0 +05:30:00
committer Nemo <commits@captnemo.in> 2022-02-02 19:03:28.0 +05:30:00
commit
1235775ed0c7439398758e9455fe7c1fe9ec4aaf [patch]
tree
ce139eb879218f9c943c8d4b442ff5320febbb87
parent
ffa251790373d448e8e82b1429608e2739fbfadf
download
1235775ed0c7439398758e9455fe7c1fe9ec4aaf.tar.gz

upgrade gitea to 1.16



Diff

 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