Use tmpfs for mysql CI containers

Should improve performance

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-09-08 14:54:58 +02:00
parent fe5c1134e6
commit de0d5a23ab
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 6 additions and 0 deletions

View File

@ -484,6 +484,8 @@ services:
environment:
- POSTGRES_USER=oc_autotest
- POSTGRES_PASSWORD=owncloud
tmpfs:
- /var/lib/postgresql/data
when:
matrix:
DB: postgres
@ -494,6 +496,8 @@ services:
- MYSQL_USER=oc_autotest
- MYSQL_PASSWORD=owncloud
- MYSQL_DATABASE=oc_autotest
tmpfs:
- /var/lib/mysql
when:
matrix:
DB: mysql
@ -505,6 +509,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