diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-09-08 14:54:58 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-09-08 15:57:15 +0200 |
commit | ff94640c4fe34667e85a8e399adc66450c7f7318 (patch) | |
tree | eb305ef5059115f5f9a7ca088affb6b291e00aab /.drone.yml | |
parent | ac96dc80de4d90f878e531e83e13a1dbde83519a (diff) | |
download | nextcloud-server-ff94640c4fe34667e85a8e399adc66450c7f7318.tar.gz nextcloud-server-ff94640c4fe34667e85a8e399adc66450c7f7318.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.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml index b6d6480169d..aba86fcece3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -650,6 +650,8 @@ services: environment: - POSTGRES_USER=oc_autotest - POSTGRES_PASSWORD=owncloud + tmpfs: + - /var/lib/postgresql/data when: matrix: DB: postgres @@ -660,6 +662,8 @@ services: - MYSQL_USER=oc_autotest - MYSQL_PASSWORD=owncloud - MYSQL_DATABASE=oc_autotest + tmpfs: + - /var/lib/mysql when: matrix: DB: mysql @@ -671,6 +675,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 |