Unify integration test configs. (#15650)
This commit is contained in:
parent
67e10397af
commit
ca0460beb7
5 changed files with 49 additions and 33 deletions
|
@ -10,9 +10,10 @@ PASSWD = {{TEST_MSSQL_PASSWORD}}
|
||||||
SSL_MODE = disable
|
SSL_MODE = disable
|
||||||
|
|
||||||
[indexer]
|
[indexer]
|
||||||
ISSUE_INDEXER_PATH = integrations/indexers-mssql/issues.bleve
|
ISSUE_INDEXER_PATH = integrations/gitea-integration-mssql/indexers/issues.bleve
|
||||||
|
ISSUE_INDEXER_QUEUE_DIR = integrations/gitea-integration-mssql/indexers/issues.queue
|
||||||
REPO_INDEXER_ENABLED = true
|
REPO_INDEXER_ENABLED = true
|
||||||
REPO_INDEXER_PATH = integrations/indexers-mssql/repos.bleve
|
REPO_INDEXER_PATH = integrations/gitea-integration-mssql/indexers/repos.bleve
|
||||||
|
|
||||||
[queue.code_indexer]
|
[queue.code_indexer]
|
||||||
TYPE = immediate
|
TYPE = immediate
|
||||||
|
@ -24,8 +25,10 @@ TYPE = immediate
|
||||||
ROOT = {{REPO_TEST_DIR}}integrations/gitea-integration-mssql/gitea-repositories
|
ROOT = {{REPO_TEST_DIR}}integrations/gitea-integration-mssql/gitea-repositories
|
||||||
|
|
||||||
[repository.local]
|
[repository.local]
|
||||||
LOCAL_COPY_PATH = tmp/local-repo-mssql
|
LOCAL_COPY_PATH = integrations/gitea-integration-mssql/tmp/local-repo
|
||||||
LOCAL_WIKI_PATH = tmp/local-wiki-mssql
|
|
||||||
|
[repository.upload]
|
||||||
|
TEMP_PATH = integrations/gitea-integration-mssql/tmp/uploads
|
||||||
|
|
||||||
[repository.signing]
|
[repository.signing]
|
||||||
SIGNING_KEY = none
|
SIGNING_KEY = none
|
||||||
|
@ -39,14 +42,14 @@ SSH_LISTEN_HOST = localhost
|
||||||
SSH_PORT = 2201
|
SSH_PORT = 2201
|
||||||
START_SSH_SERVER = true
|
START_SSH_SERVER = true
|
||||||
LFS_START_SERVER = true
|
LFS_START_SERVER = true
|
||||||
LFS_CONTENT_PATH = integrations/gitea-integration-mssql/data/lfs-mssql
|
LFS_CONTENT_PATH = integrations/gitea-integration-mssql/data/lfs
|
||||||
OFFLINE_MODE = false
|
OFFLINE_MODE = false
|
||||||
LFS_JWT_SECRET = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
|
LFS_JWT_SECRET = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
|
||||||
APP_DATA_PATH = integrations/gitea-integration-mssql/data
|
APP_DATA_PATH = integrations/gitea-integration-mssql/data
|
||||||
BUILTIN_SSH_SERVER_USER = git
|
BUILTIN_SSH_SERVER_USER = git
|
||||||
|
|
||||||
[attachment]
|
[attachment]
|
||||||
PATH = integrations/gitea-integration-mssql/data
|
PATH = integrations/gitea-integration-mssql/data/attachments
|
||||||
|
|
||||||
[mailer]
|
[mailer]
|
||||||
ENABLED = true
|
ENABLED = true
|
||||||
|
|
|
@ -12,9 +12,9 @@ SSL_MODE = disable
|
||||||
[indexer]
|
[indexer]
|
||||||
ISSUE_INDEXER_TYPE = elasticsearch
|
ISSUE_INDEXER_TYPE = elasticsearch
|
||||||
ISSUE_INDEXER_CONN_STR = http://elastic:changeme@elasticsearch:9200
|
ISSUE_INDEXER_CONN_STR = http://elastic:changeme@elasticsearch:9200
|
||||||
ISSUE_INDEXER_PATH = integrations/indexers-mysql/issues.bleve
|
ISSUE_INDEXER_QUEUE_DIR = integrations/gitea-integration-mysql/indexers/issues.queue
|
||||||
REPO_INDEXER_ENABLED = true
|
REPO_INDEXER_ENABLED = true
|
||||||
REPO_INDEXER_PATH = integrations/indexers-mysql/repos.bleve
|
REPO_INDEXER_PATH = integrations/gitea-integration-mysql/indexers/repos.bleve
|
||||||
|
|
||||||
[queue.code_indexer]
|
[queue.code_indexer]
|
||||||
TYPE = immediate
|
TYPE = immediate
|
||||||
|
@ -26,8 +26,10 @@ TYPE = immediate
|
||||||
ROOT = {{REPO_TEST_DIR}}integrations/gitea-integration-mysql/gitea-repositories
|
ROOT = {{REPO_TEST_DIR}}integrations/gitea-integration-mysql/gitea-repositories
|
||||||
|
|
||||||
[repository.local]
|
[repository.local]
|
||||||
LOCAL_COPY_PATH = tmp/local-repo-mysql
|
LOCAL_COPY_PATH = integrations/gitea-integration-mysql/tmp/local-repo
|
||||||
LOCAL_WIKI_PATH = tmp/local-wiki-mysql
|
|
||||||
|
[repository.upload]
|
||||||
|
TEMP_PATH = integrations/gitea-integration-mysql/tmp/uploads
|
||||||
|
|
||||||
[repository.signing]
|
[repository.signing]
|
||||||
SIGNING_KEY = none
|
SIGNING_KEY = none
|
||||||
|
|
|
@ -10,9 +10,10 @@ PASSWD = {{TEST_MYSQL8_PASSWORD}}
|
||||||
SSL_MODE = disable
|
SSL_MODE = disable
|
||||||
|
|
||||||
[indexer]
|
[indexer]
|
||||||
ISSUE_INDEXER_PATH = integrations/indexers-mysql8/issues.bleve
|
ISSUE_INDEXER_PATH = integrations/gitea-integration-mysql8/indexers/issues.bleve
|
||||||
|
ISSUE_INDEXER_QUEUE_DIR = integrations/gitea-integration-mysql8/indexers/issues.queue
|
||||||
REPO_INDEXER_ENABLED = true
|
REPO_INDEXER_ENABLED = true
|
||||||
REPO_INDEXER_PATH = integrations/indexers-mysql8/repos.bleve
|
REPO_INDEXER_PATH = integrations/gitea-integration-mysql8/indexers/repos.bleve
|
||||||
|
|
||||||
[queue.code_indexer]
|
[queue.code_indexer]
|
||||||
TYPE = immediate
|
TYPE = immediate
|
||||||
|
@ -24,8 +25,10 @@ TYPE = immediate
|
||||||
ROOT = {{REPO_TEST_DIR}}integrations/gitea-integration-mysql8/gitea-repositories
|
ROOT = {{REPO_TEST_DIR}}integrations/gitea-integration-mysql8/gitea-repositories
|
||||||
|
|
||||||
[repository.local]
|
[repository.local]
|
||||||
LOCAL_COPY_PATH = tmp/local-repo-mysql8
|
LOCAL_COPY_PATH = integrations/gitea-integration-mysql8/tmp/local-repo
|
||||||
LOCAL_WIKI_PATH = tmp/local-wiki-mysql8
|
|
||||||
|
[repository.upload]
|
||||||
|
TEMP_PATH = integrations/gitea-integration-mysql8/tmp/uploads
|
||||||
|
|
||||||
[repository.signing]
|
[repository.signing]
|
||||||
SIGNING_KEY = none
|
SIGNING_KEY = none
|
||||||
|
@ -39,12 +42,15 @@ SSH_LISTEN_HOST = localhost
|
||||||
SSH_PORT = 2204
|
SSH_PORT = 2204
|
||||||
START_SSH_SERVER = true
|
START_SSH_SERVER = true
|
||||||
LFS_START_SERVER = true
|
LFS_START_SERVER = true
|
||||||
LFS_CONTENT_PATH = data/lfs-mysql8
|
LFS_CONTENT_PATH = integrations/gitea-integration-mysql8/data/lfs
|
||||||
OFFLINE_MODE = false
|
OFFLINE_MODE = false
|
||||||
LFS_JWT_SECRET = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
|
LFS_JWT_SECRET = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
|
||||||
APP_DATA_PATH = integrations/gitea-integration-mysql8/data
|
APP_DATA_PATH = integrations/gitea-integration-mysql8/data
|
||||||
BUILTIN_SSH_SERVER_USER = git
|
BUILTIN_SSH_SERVER_USER = git
|
||||||
|
|
||||||
|
[attachment]
|
||||||
|
PATH = integrations/gitea-integration-mysql8/data/attachments
|
||||||
|
|
||||||
[mailer]
|
[mailer]
|
||||||
ENABLED = false
|
ENABLED = false
|
||||||
|
|
||||||
|
@ -62,10 +68,12 @@ NO_REPLY_ADDRESS = noreply.example.org
|
||||||
[picture]
|
[picture]
|
||||||
DISABLE_GRAVATAR = false
|
DISABLE_GRAVATAR = false
|
||||||
ENABLE_FEDERATED_AVATAR = false
|
ENABLE_FEDERATED_AVATAR = false
|
||||||
|
AVATAR_UPLOAD_PATH = integrations/gitea-integration-mysql8/data/avatars
|
||||||
|
REPOSITORY_AVATAR_UPLOAD_PATH = integrations/gitea-integration-mysql8/data/repo-avatars
|
||||||
|
|
||||||
[session]
|
[session]
|
||||||
PROVIDER = file
|
PROVIDER = file
|
||||||
PROVIDER_CONFIG = data/sessions-mysql8
|
PROVIDER_CONFIG = integrations/gitea-integration-mysql8/data/sessions
|
||||||
|
|
||||||
[log]
|
[log]
|
||||||
MODE = test,file
|
MODE = test,file
|
||||||
|
@ -80,10 +88,8 @@ COLORIZE = true
|
||||||
[log.file]
|
[log.file]
|
||||||
LEVEL = Debug
|
LEVEL = Debug
|
||||||
|
|
||||||
|
|
||||||
[security]
|
[security]
|
||||||
DISABLE_GIT_HOOKS = false
|
DISABLE_GIT_HOOKS = false
|
||||||
INSTALL_LOCK = true
|
INSTALL_LOCK = true
|
||||||
SECRET_KEY = 9pCviYTWSb
|
SECRET_KEY = 9pCviYTWSb
|
||||||
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTU1NTE2MTh9.hhSVGOANkaKk3vfCd2jDOIww4pUk0xtg9JRde5UogyQ
|
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTU1NTE2MTh9.hhSVGOANkaKk3vfCd2jDOIww4pUk0xtg9JRde5UogyQ
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,10 @@ SCHEMA = {{TEST_PGSQL_SCHEMA}}
|
||||||
SSL_MODE = disable
|
SSL_MODE = disable
|
||||||
|
|
||||||
[indexer]
|
[indexer]
|
||||||
ISSUE_INDEXER_PATH = integrations/indexers-pgsql/issues.bleve
|
ISSUE_INDEXER_PATH = integrations/gitea-integration-pgsql/indexers/issues.bleve
|
||||||
|
ISSUE_INDEXER_QUEUE_DIR = integrations/gitea-integration-pgsql/indexers/issues.queue
|
||||||
REPO_INDEXER_ENABLED = true
|
REPO_INDEXER_ENABLED = true
|
||||||
REPO_INDEXER_PATH = integrations/indexers-pgsql/repos.bleve
|
REPO_INDEXER_PATH = integrations/gitea-integration-pgsql/indexers/repos.bleve
|
||||||
|
|
||||||
[queue.code_indexer]
|
[queue.code_indexer]
|
||||||
TYPE = immediate
|
TYPE = immediate
|
||||||
|
@ -25,8 +26,10 @@ TYPE = immediate
|
||||||
ROOT = {{REPO_TEST_DIR}}integrations/gitea-integration-pgsql/gitea-repositories
|
ROOT = {{REPO_TEST_DIR}}integrations/gitea-integration-pgsql/gitea-repositories
|
||||||
|
|
||||||
[repository.local]
|
[repository.local]
|
||||||
LOCAL_COPY_PATH = tmp/local-repo-pgsql
|
LOCAL_COPY_PATH = integrations/gitea-integration-pgsql/tmp/local-repo
|
||||||
LOCAL_WIKI_PATH = tmp/local-wiki-pgsql
|
|
||||||
|
[repository.upload]
|
||||||
|
TEMP_PATH = integrations/gitea-integration-pgsql/tmp/uploads
|
||||||
|
|
||||||
[repository.signing]
|
[repository.signing]
|
||||||
SIGNING_KEY = none
|
SIGNING_KEY = none
|
||||||
|
@ -40,14 +43,14 @@ SSH_LISTEN_HOST = localhost
|
||||||
SSH_PORT = 2202
|
SSH_PORT = 2202
|
||||||
START_SSH_SERVER = true
|
START_SSH_SERVER = true
|
||||||
LFS_START_SERVER = true
|
LFS_START_SERVER = true
|
||||||
LFS_CONTENT_PATH = integrations/gitea-integration-pgsql/data/lfs-pgsql
|
LFS_CONTENT_PATH = integrations/gitea-integration-pgsql/data/lfs
|
||||||
OFFLINE_MODE = false
|
OFFLINE_MODE = false
|
||||||
LFS_JWT_SECRET = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
|
LFS_JWT_SECRET = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
|
||||||
APP_DATA_PATH = integrations/gitea-integration-pgsql/data
|
APP_DATA_PATH = integrations/gitea-integration-pgsql/data
|
||||||
BUILTIN_SSH_SERVER_USER = git
|
BUILTIN_SSH_SERVER_USER = git
|
||||||
|
|
||||||
[attachment]
|
[attachment]
|
||||||
PATH = integrations/gitea-integration-pgsql/data
|
PATH = integrations/gitea-integration-pgsql/data/attachments
|
||||||
|
|
||||||
[mailer]
|
[mailer]
|
||||||
ENABLED = true
|
ENABLED = true
|
||||||
|
|
|
@ -6,9 +6,10 @@ DB_TYPE = sqlite3
|
||||||
PATH = integrations/gitea-integration-sqlite/gitea.db
|
PATH = integrations/gitea-integration-sqlite/gitea.db
|
||||||
|
|
||||||
[indexer]
|
[indexer]
|
||||||
ISSUE_INDEXER_PATH = integrations/indexers-sqlite/issues.bleve
|
ISSUE_INDEXER_PATH = integrations/gitea-integration-sqlite/indexers/issues.bleve
|
||||||
|
ISSUE_INDEXER_QUEUE_DIR = integrations/gitea-integration-sqlite/indexers/issues.queue
|
||||||
REPO_INDEXER_ENABLED = true
|
REPO_INDEXER_ENABLED = true
|
||||||
REPO_INDEXER_PATH = integrations/indexers-sqlite/repos.bleve
|
REPO_INDEXER_PATH = integrations/gitea-integration-sqlite/indexers/repos.bleve
|
||||||
|
|
||||||
[queue.code_indexer]
|
[queue.code_indexer]
|
||||||
TYPE = immediate
|
TYPE = immediate
|
||||||
|
@ -20,8 +21,10 @@ TYPE = immediate
|
||||||
ROOT = {{REPO_TEST_DIR}}integrations/gitea-integration-sqlite/gitea-repositories
|
ROOT = {{REPO_TEST_DIR}}integrations/gitea-integration-sqlite/gitea-repositories
|
||||||
|
|
||||||
[repository.local]
|
[repository.local]
|
||||||
LOCAL_COPY_PATH = tmp/local-repo-sqlite
|
LOCAL_COPY_PATH = integrations/gitea-integration-sqlite/tmp/local-repo
|
||||||
LOCAL_WIKI_PATH = tmp/local-wiki-sqlite
|
|
||||||
|
[repository.upload]
|
||||||
|
TEMP_PATH = integrations/gitea-integration-sqlite/tmp/uploads
|
||||||
|
|
||||||
[repository.signing]
|
[repository.signing]
|
||||||
SIGNING_KEY = none
|
SIGNING_KEY = none
|
||||||
|
@ -35,7 +38,7 @@ SSH_LISTEN_HOST = localhost
|
||||||
SSH_PORT = 2203
|
SSH_PORT = 2203
|
||||||
START_SSH_SERVER = true
|
START_SSH_SERVER = true
|
||||||
LFS_START_SERVER = true
|
LFS_START_SERVER = true
|
||||||
LFS_CONTENT_PATH = integrations/gitea-integration-sqlite/data
|
LFS_CONTENT_PATH = integrations/gitea-integration-sqlite/data/lfs
|
||||||
OFFLINE_MODE = false
|
OFFLINE_MODE = false
|
||||||
LFS_JWT_SECRET = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
|
LFS_JWT_SECRET = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
|
||||||
APP_DATA_PATH = integrations/gitea-integration-sqlite/data
|
APP_DATA_PATH = integrations/gitea-integration-sqlite/data
|
||||||
|
@ -43,7 +46,7 @@ ENABLE_GZIP = true
|
||||||
BUILTIN_SSH_SERVER_USER = git
|
BUILTIN_SSH_SERVER_USER = git
|
||||||
|
|
||||||
[attachment]
|
[attachment]
|
||||||
PATH = integrations/gitea-integration-sqlite/data
|
PATH = integrations/gitea-integration-sqlite/data/attachments
|
||||||
|
|
||||||
[mailer]
|
[mailer]
|
||||||
ENABLED = true
|
ENABLED = true
|
||||||
|
@ -67,7 +70,6 @@ ENABLE_FEDERATED_AVATAR = false
|
||||||
AVATAR_UPLOAD_PATH = integrations/gitea-integration-sqlite/data/avatars
|
AVATAR_UPLOAD_PATH = integrations/gitea-integration-sqlite/data/avatars
|
||||||
REPOSITORY_AVATAR_UPLOAD_PATH = integrations/gitea-integration-sqlite/data/repo-avatars
|
REPOSITORY_AVATAR_UPLOAD_PATH = integrations/gitea-integration-sqlite/data/repo-avatars
|
||||||
|
|
||||||
|
|
||||||
[session]
|
[session]
|
||||||
PROVIDER = file
|
PROVIDER = file
|
||||||
PROVIDER_CONFIG = integrations/gitea-integration-sqlite/data/sessions
|
PROVIDER_CONFIG = integrations/gitea-integration-sqlite/data/sessions
|
||||||
|
|
Reference in a new issue