From dbd33c79b0600fb03973068394d8094f51a3d9da Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 30 Apr 2019 14:17:20 +0200 Subject: [PATCH 1/2] Add mysql 8.0 CI run Signed-off-by: Roeland Jago Douma --- .drone.yml | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index e747646709..0b97149975 100644 --- a/.drone.yml +++ b/.drone.yml @@ -469,7 +469,42 @@ trigger: --- kind: pipeline -name: mysql-php7.1 +name: mysql8.0-php7.1 + +steps: +- name: submodules + image: docker:git + commands: + - git submodule update --init +- name: mysql-php7.1 + image: nextcloudci/php7.1:php7.1-16 + commands: + - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql + +services: +- name: cache + image: redis +- name: mysql + image: mysql:8.0 + environment: + MYSQL_ROOT_PASSWORD: owncloud + MYSQL_USER: oc_autotest + MYSQL_PASSWORD: owncloud + MYSQL_DATABASE: oc_autotest + tmpfs: + - /var/lib/mysql + +trigger: + branch: + - master + - stable* + event: + - pull_request + - push + +--- +kind: pipeline +name: mysql5.7-php7.1 steps: - name: submodules @@ -504,7 +539,7 @@ trigger: --- kind: pipeline -name: mysql-php7.2 +name: mysql5.7-php7.2 steps: - name: submodules @@ -537,7 +572,7 @@ trigger: --- kind: pipeline -name: mysql-php7.3 +name: mysql5.7-php7.3 steps: - name: submodules From 0aa490f1f8011099f452eb19d8b5ce091301537d Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Wed, 1 May 2019 14:38:47 +0200 Subject: [PATCH 2/2] Use mysql_native_password as default authentication plugin Signed-off-by: Daniel Kesselberg --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 0b97149975..81952f009b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -486,6 +486,7 @@ services: image: redis - name: mysql image: mysql:8.0 + command: [ "--default-authentication-plugin=mysql_native_password" ] environment: MYSQL_ROOT_PASSWORD: owncloud MYSQL_USER: oc_autotest