summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-03-22 09:15:25 +0100
committerGitHub <noreply@github.com>2022-03-22 09:15:25 +0100
commit1fe73a15d38b28b72e94488f07c7374d6791575a (patch)
tree198668d36cf1fd0beb7ebfe51c8e3ff8d98ae16f
parent58582dfd33300e7ef9808dc209544837b1075742 (diff)
parentf30272d2e3ab4f52327ada2d2d07c3bcf5d84aee (diff)
downloadnextcloud-server-1fe73a15d38b28b72e94488f07c7374d6791575a.tar.gz
nextcloud-server-1fe73a15d38b28b72e94488f07c7374d6791575a.zip
Merge pull request #31653 from nextcloud/techdebt/noid/run-with-ONLY_FULL_GROUP_BY
-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