summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorPatrick Schratz <patrick.schratz@gmail.com>2021-05-22 00:11:48 +0200
committerGitHub <noreply@github.com>2021-05-21 18:11:48 -0400
commitd957a1569a37e97c1f2b995168a370a83208e233 (patch)
tree4f3f4d36c4aed979dca3e85ffe16a2911c3b1357 /integrations
parentfec832402625d856aba0cc2fbdec9e773469ad87 (diff)
downloadgitea-d957a1569a37e97c1f2b995168a370a83208e233.tar.gz
gitea-d957a1569a37e97c1f2b995168a370a83208e233.zip
Bump `postgres` and `mysql` versions (#15710)
* bump postgres and mysql DB versions * posgres test against v10 Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'integrations')
-rw-r--r--integrations/README_ZH.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/README_ZH.md b/integrations/README_ZH.md
index fd31764560..39639f9b89 100644
--- a/integrations/README_ZH.md
+++ b/integrations/README_ZH.md
@@ -26,7 +26,7 @@ make test-sqlite
## 如何使用 mysql 数据库进行集成测试
首先在docker容器里部署一个 mysql 数据库
```
-docker run -e "MYSQL_DATABASE=test" -e "MYSQL_ALLOW_EMPTY_PASSWORD=yes" -p 3306:3306 --rm --name mysql mysql:5.7 #(just ctrl-c to stop db and clean the container)
+docker run -e "MYSQL_DATABASE=test" -e "MYSQL_ALLOW_EMPTY_PASSWORD=yes" -p 3306:3306 --rm --name mysql mysql:8 #(just ctrl-c to stop db and clean the container)
```
之后便可以基于这个数据库进行集成测试
```
@@ -36,7 +36,7 @@ TEST_MYSQL_HOST=localhost:3306 TEST_MYSQL_DBNAME=test TEST_MYSQL_USERNAME=root T
## 如何使用 pgsql 数据库进行集成测试
同上,首先在 docker 容器里部署一个 pgsql 数据库
```
-docker run -e "POSTGRES_DB=test" -p 5432:5432 --rm --name pgsql postgres:9.5 #(just ctrl-c to stop db and clean the container)
+docker run -e "POSTGRES_DB=test" -p 5432:5432 --rm --name pgsql postgres:13 #(just ctrl-c to stop db and clean the container)
```
之后便可以基于这个数据库进行集成测试
```