Fix the formatting of the gitea app.ini file

During the Gitea 1.22.1 upgrade we had failures because gitea wanted to
write back to its app.ini config file and couldn't do so due to file
permissions. We address that by fixing the formatting for one entry in
the template then separately update a secret var to match what ended up
being deployed to gitea09. In theory this should make everything line up
such that we don't actually need to write back to the file at all.

If this continues to fail we will instead update file permissions and
let gitea rewrite its file instead. But that would be the next thing to
try.

Change-Id: Ic3a6e2dd25ec906c234c2fea26b68eb8f742201c
This commit is contained in:
Clark Boylan 2024-07-19 10:23:54 -07:00
parent 4b31c5409d
commit 4a3c19e053

View File

@ -2,7 +2,7 @@ APP_NAME = OpenDev: Free Software Needs Free Tools
RUN_MODE = prod
RUN_USER = git
; TODO determine if this is appropriate for our existing installation
WORK_PATH= /data/gitea
WORK_PATH = /data/gitea
[server]
APP_DATA_PATH = /data/gitea