summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-09-08 14:54:58 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-09-08 15:23:37 +0200
commitcea15113972da35ffcc2886a3229b24ae65934cc (patch)
tree61e12dc85e0db2d7344ce96dcae585e09f42002a /.drone.yml
parentc58853d22374edbf4b3f3c477d3aeb960c3cbe72 (diff)
downloadnextcloud-server-cea15113972da35ffcc2886a3229b24ae65934cc.tar.gz
nextcloud-server-cea15113972da35ffcc2886a3229b24ae65934cc.zip
Use tmpfs for mysql CI containers
Should improve performance Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 7c61e8c4d15..147de92ad37 100644
--- a/.drone.yml
+++ b/.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