Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-03-21 20:07:20 +0300
committerJoas Schilling <coding@schilljs.com>2022-03-21 20:07:20 +0300
commitf30272d2e3ab4f52327ada2d2d07c3bcf5d84aee (patch)
tree4cf9163fc50abf86ac9a6c6bdcb50425a36400e0 /.drone.yml
parentb40481e8e5dfe30ef9568758490af675713ee0c2 (diff)
Run tests with MySQL/MariaDB ONLY_FULL_GROUP_BY
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index a628f7a5111..79cd295210e 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -304,6 +304,8 @@ services:
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: owncloud
MYSQL_DATABASE: oc_autotest
+ command:
+ - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
tmpfs:
- /var/lib/mysql
@@ -340,6 +342,8 @@ services:
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: owncloud
MYSQL_DATABASE: oc_autotest
+ command:
+ - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
tmpfs:
- /var/lib/mysql
@@ -376,6 +380,8 @@ services:
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: owncloud
MYSQL_DATABASE: oc_autotest
+ command:
+ - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
tmpfs:
- /var/lib/mysql
@@ -407,7 +413,9 @@ services:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
- name: mysql
image: ghcr.io/nextcloud/continuous-integration-mysql-8.0:mysql-8.0
- command: [ "--default-authentication-plugin=mysql_native_password" ]
+ command:
+ - --default-authentication-plugin=mysql_native_password
+ - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
environment:
MYSQL_ROOT_PASSWORD: owncloud
MYSQL_USER: oc_autotest