summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-03-18 03:17:18 +0800
committertechknowlogick <matti@mdranta.net>2019-03-17 15:17:18 -0400
commit4a6b011b159bd13c12cd973c3cfd61cd725bf7e0 (patch)
tree1c25e8e74d078064715dabb5b92d6e1d29346b97 /integrations
parentb3ad5eb414c67f96594a2863b4ada909cf2eea7f (diff)
downloadgitea-4a6b011b159bd13c12cd973c3cfd61cd725bf7e0.tar.gz
gitea-4a6b011b159bd13c12cd973c3cfd61cd725bf7e0.zip
Add test environment for Mysql8 (#5234)
Diffstat (limited to 'integrations')
-rw-r--r--integrations/mysql8.ini.tmpl72
1 files changed, 72 insertions, 0 deletions
diff --git a/integrations/mysql8.ini.tmpl b/integrations/mysql8.ini.tmpl
new file mode 100644
index 0000000000..246ec800a6
--- /dev/null
+++ b/integrations/mysql8.ini.tmpl
@@ -0,0 +1,72 @@
+APP_NAME = Gitea: Git with a cup of tea
+RUN_MODE = prod
+
+[database]
+DB_TYPE = mysql
+HOST = {{TEST_MYSQL8_HOST}}
+NAME = {{TEST_MYSQL8_DBNAME}}
+USER = {{TEST_MYSQL8_USERNAME}}
+PASSWD = {{TEST_MYSQL8_PASSWORD}}
+SSL_MODE = disable
+
+[indexer]
+ISSUE_INDEXER_PATH = integrations/indexers-mysql8/issues.bleve
+REPO_INDEXER_ENABLED = true
+REPO_INDEXER_PATH = integrations/indexers-mysql8/repos.bleve
+
+[repository]
+ROOT = integrations/gitea-integration-mysql8/gitea-repositories
+
+[repository.local]
+LOCAL_COPY_PATH = tmp/local-repo-mysql8
+LOCAL_WIKI_PATH = tmp/local-wiki-mysql8
+
+[server]
+SSH_DOMAIN = localhost
+HTTP_PORT = 3004
+ROOT_URL = http://localhost:3004/
+DISABLE_SSH = false
+SSH_LISTEN_HOST = localhost
+SSH_PORT = 2204
+START_SSH_SERVER = true
+LFS_START_SERVER = true
+LFS_CONTENT_PATH = data/lfs-mysql8
+OFFLINE_MODE = false
+LFS_JWT_SECRET = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
+APP_DATA_PATH = integrations/gitea-integration-mysql8/data
+
+[mailer]
+ENABLED = false
+
+[service]
+REGISTER_EMAIL_CONFIRM = false
+ENABLE_NOTIFY_MAIL = false
+DISABLE_REGISTRATION = false
+ENABLE_CAPTCHA = false
+REQUIRE_SIGNIN_VIEW = false
+DEFAULT_KEEP_EMAIL_PRIVATE = false
+DEFAULT_ALLOW_CREATE_ORGANIZATION = true
+NO_REPLY_ADDRESS = noreply.example.org
+
+[picture]
+DISABLE_GRAVATAR = false
+ENABLE_FEDERATED_AVATAR = false
+
+[session]
+PROVIDER = file
+PROVIDER_CONFIG = data/sessions-mysql8
+
+[log]
+MODE = console,file
+ROOT_PATH = mysql8-log
+
+[log.console]
+LEVEL = Warn
+
+[log.file]
+LEVEL = Debug
+
+[security]
+INSTALL_LOCK = true
+SECRET_KEY = 9pCviYTWSb
+INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTU1NTE2MTh9.hhSVGOANkaKk3vfCd2jDOIww4pUk0xtg9JRde5UogyQ