summaryrefslogtreecommitdiffstats
path: root/integrations/pgsql.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/pgsql.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/pgsql.ini.tmpl')
-rw-r--r--integrations/pgsql.ini.tmpl15
1 files changed, 10 insertions, 5 deletions
diff --git a/integrations/pgsql.ini.tmpl b/integrations/pgsql.ini.tmpl
index 80258437e5..4cac2585fb 100644
--- a/integrations/pgsql.ini.tmpl
+++ b/integrations/pgsql.ini.tmpl
@@ -34,12 +34,15 @@ SSH_LISTEN_HOST = localhost
SSH_PORT = 2202
START_SSH_SERVER = true
LFS_START_SERVER = true
-LFS_CONTENT_PATH = data/lfs-pgsql
+LFS_CONTENT_PATH = integrations/gitea-integration-pgsql/data/lfs-pgsql
OFFLINE_MODE = false
LFS_JWT_SECRET = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
APP_DATA_PATH = integrations/gitea-integration-pgsql/data
BUILTIN_SSH_SERVER_USER = git
+[attachment]
+PATH = integrations/gitea-integration-pgsql/data
+
[mailer]
ENABLED = true
MAILER_TYPE = dummy
@@ -57,12 +60,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-pgsql/data/avatars
+REPOSITORY_AVATAR_UPLOAD_PATH = integrations/gitea-integration-pgsql/data/repo-avatars
[session]
-PROVIDER = file
-PROVIDER_CONFIG = data/sessions-pgsql
+PROVIDER = file
+PROVIDER_CONFIG = integrations/gitea-integration-pgsql/data/sessions
[log]
MODE = test,file