]> source.dussan.org Git - nextcloud-server.git/commitdiff
Run tests with MySQL/MariaDB ONLY_FULL_GROUP_BY 31653/head
authorJoas Schilling <coding@schilljs.com>
Mon, 21 Mar 2022 17:07:20 +0000 (18:07 +0100)
committerJoas Schilling <coding@schilljs.com>
Mon, 21 Mar 2022 17:07:20 +0000 (18:07 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
.drone.yml

index a628f7a511156dd985371b5c35eba2036befd733..79cd295210eba892ea18c183c21a4e88b6032ae7 100644 (file)
@@ -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