From 2b2373f6c2f202cb7b6f25f281ac7b148b69a81f Mon Sep 17 00:00:00 2001 From: mrsdizzie Date: Wed, 3 Jun 2020 15:07:02 -0400 Subject: 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 Co-authored-by: techknowlogick --- integrations/pgsql.ini.tmpl | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'integrations/pgsql.ini.tmpl') 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 -- cgit v1.2.3