From 0b7bbb672cb19d29ad8232df9e3a7c9adc030885 Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Fri, 9 Aug 2024 08:47:29 +0100 Subject: [PATCH] chore: upgrade Forgejo to v8.0.0 - Upgraded Forgejo to v8.0.0 - Configured the slogan for the Forgejo deployment. --- config | 2 +- internal/config/config.go | 1 + templates/forgejo/app.ini.gotmpl | 9 +++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/config b/config index cdfc219..8b923a1 160000 --- a/config +++ b/config @@ -1 +1 @@ -Subproject commit cdfc2199f986ccce0d597de4ba75a9025b7c81e2 +Subproject commit 8b923a1ab24f1bf0cfc915ec16d6e0604a72f0e2 diff --git a/internal/config/config.go b/internal/config/config.go index 7e1395b..8bfcb0f 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -53,6 +53,7 @@ type Traefik struct { type Forgejo struct { Version string `json:"version"` Name string `json:"name"` + Slogan string `json:"slogan"` Subdomain string `json:"subdomain"` ContainerName string `json:"containerName"` ContainerIpv4Address string `json:"containerIpv4Address"` diff --git a/templates/forgejo/app.ini.gotmpl b/templates/forgejo/app.ini.gotmpl index b93afe8..cdc88d8 100644 --- a/templates/forgejo/app.ini.gotmpl +++ b/templates/forgejo/app.ini.gotmpl @@ -1,8 +1,9 @@ {{- $app_data_path := printf "%s/git" .Forgejo.DataContainerDirectory -}} -APP_NAME = "{{ .Forgejo.Name }}" -RUN_USER = git -RUN_MODE = {{ .Forgejo.RunMode }} -WORK_PATH = {{ .Forgejo.Work }} +APP_NAME = "{{ .Forgejo.Name }}" +APP_SLOGAN = "{{ .Forgejo.Slogan }}" +RUN_USER = git +RUN_MODE = {{ .Forgejo.RunMode }} +WORK_PATH = {{ .Forgejo.Work }} [repository] ROOT = {{ .Forgejo.DataContainerDirectory }}/git/repositories