fix(forgejo): upgrade Forgejo to v9.0.0

- Upgrade Forgejo to v9.0.0 for both dev and prod.
- Configure log retention and compression for Forgejo
  Action logs.
This commit is contained in:
Dan Anglin 2024-10-22 09:30:38 +01:00
parent 32ee6bded6
commit f26d4f93c4
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
3 changed files with 4 additions and 1 deletions

2
config

@ -1 +1 @@
Subproject commit 4bcd59b35e78780e43a22c641517697bfc345dc7
Subproject commit 0f22ea6f385edd0edb705f4a8ee2a294739dbd76

View file

@ -108,6 +108,7 @@ type Forgejo struct {
type ForgejoActions struct {
Enabled bool `json:"enabled"`
DefaultActionsURL string `json:"defaultActionsURL"`
LogRetentionDays int `json:"logRetentionDays"`
}
type ForgejoBackups struct {

View file

@ -141,3 +141,5 @@ IS_INPUT_FILE = false
[actions]
ENABLED = {{ .Forgejo.Actions.Enabled }}
DEFAULT_ACTIONS_URL = {{ default .Forgejo.Actions.DefaultActionsURL "https://code.forgejo.org" }}
LOG_RETENTION_DAYS = {{ .Forgejo.Actions.LogRetentionDays }}
LOG_COMPRESSION = zstd