Use tmpfs for mysql CI containers
Should improve performance Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
c58853d223
commit
cea1511397
10
.drone.yml
10
.drone.yml
|
@ -816,6 +816,8 @@ services:
|
|||
environment:
|
||||
- POSTGRES_USER=oc_autotest
|
||||
- POSTGRES_PASSWORD=owncloud
|
||||
tmpfs:
|
||||
- /var/lib/postgresql/data
|
||||
when:
|
||||
matrix:
|
||||
DB: postgres
|
||||
|
@ -826,6 +828,8 @@ services:
|
|||
- MYSQL_USER=oc_autotest
|
||||
- MYSQL_PASSWORD=owncloud
|
||||
- MYSQL_DATABASE=oc_autotest
|
||||
tmpfs:
|
||||
- /var/lib/mysql
|
||||
when:
|
||||
matrix:
|
||||
DB: mysql
|
||||
|
@ -836,6 +840,8 @@ services:
|
|||
- MYSQL_USER=oc_autotest
|
||||
- MYSQL_PASSWORD=owncloud
|
||||
- MYSQL_DATABASE=oc_autotest
|
||||
tmpfs:
|
||||
- /var/lib/mysql
|
||||
when:
|
||||
matrix:
|
||||
DB: mysql5.6
|
||||
|
@ -846,6 +852,8 @@ services:
|
|||
- MYSQL_USER=oc_autotest
|
||||
- MYSQL_PASSWORD=owncloud
|
||||
- MYSQL_DATABASE=oc_autotest
|
||||
tmpfs:
|
||||
- /var/lib/mysql
|
||||
when:
|
||||
matrix:
|
||||
DB: mysql5.5
|
||||
|
@ -857,6 +865,8 @@ services:
|
|||
- MYSQL_PASSWORD=owncloud
|
||||
- MYSQL_DATABASE=oc_autotest
|
||||
command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ]
|
||||
tmpfs:
|
||||
- /var/lib/mysql
|
||||
when:
|
||||
matrix:
|
||||
DB: mysqlmb4
|
||||
|
|
Loading…
Reference in New Issue