summaryrefslogtreecommitdiffstats
path: root/integrations/mysql.ini.tmpl
diff options
context:
space:
mode:
authormrsdizzie <info@mrsdizzie.com>2020-06-03 15:07:02 -0400
committerGitHub <noreply@github.com>2020-06-03 15:07:02 -0400
commit2b2373f6c2f202cb7b6f25f281ac7b148b69a81f (patch)
treecd8cee1a02ee405e1cc64f26f326d8af96ccec26 /integrations/mysql.ini.tmpl
parentc6cee441342480bbc22410211be7820e7ebd39ea (diff)
downloadgitea-2b2373f6c2f202cb7b6f25f281ac7b148b69a81f.tar.gz
gitea-2b2373f6c2f202cb7b6f25f281ac7b148b69a81f.zip
Don't put integration test data outside of test folder (#11746)
Some integration test data is being put outside of the integration test folders which means it isn't deleted properly with make clean. Update config so it works as expected. Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'integrations/mysql.ini.tmpl')
-rw-r--r--integrations/mysql.ini.tmpl15
1 files changed, 10 insertions, 5 deletions
diff --git a/integrations/mysql.ini.tmpl b/integrations/mysql.ini.tmpl
index beff736606..012b0aef88 100644
--- a/integrations/mysql.ini.tmpl
+++ b/integrations/mysql.ini.tmpl
@@ -35,12 +35,15 @@ SSH_LISTEN_HOST = localhost
SSH_PORT = 2201
START_SSH_SERVER = true
LFS_START_SERVER = true
-LFS_CONTENT_PATH = data/lfs-mysql
+LFS_CONTENT_PATH = integrations/gitea-integration-mysql/datalfs-mysql
OFFLINE_MODE = false
LFS_JWT_SECRET = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
APP_DATA_PATH = integrations/gitea-integration-mysql/data
BUILTIN_SSH_SERVER_USER = git
+[attachment]
+PATH = integrations/gitea-integration-mysql/data
+
[mailer]
ENABLED = true
MAILER_TYPE = dummy
@@ -58,12 +61,14 @@ NO_REPLY_ADDRESS = noreply.example.org
ENABLE_NOTIFY_MAIL = true
[picture]
-DISABLE_GRAVATAR = false
-ENABLE_FEDERATED_AVATAR = false
+DISABLE_GRAVATAR = false
+ENABLE_FEDERATED_AVATAR = false
+AVATAR_UPLOAD_PATH = integrations/gitea-integration-mysql/data/avatars
+REPOSITORY_AVATAR_UPLOAD_PATH = integrations/gitea-integration-mysql/data/repo-avatars
[session]
-PROVIDER = file
-PROVIDER_CONFIG = data/sessions-mysql
+PROVIDER = file
+PROVIDER_CONFIG = integrations/gitea-integration-mysql/data/sessions
[log]
MODE = test,file