Browse Source

Add MariaDB 10.6 pipeline

Keeping MariaDB 10.4 too as both versions have some BC breaks, so tests will run on both (for now).
acsfer 2 years ago
parent
commit
5c84fe1b81
1 changed files with 36 additions and 0 deletions
  1. 36 0
      .drone.yml

+ 36 - 0
.drone.yml

@@ -360,6 +360,42 @@ trigger:
     - pull_request
     - push
 
+---
+kind: pipeline
+name: mariadb10.6-php8.0
+
+steps:
+- name: submodules
+  image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
+  commands:
+    - git submodule update --init
+- name: mariadb10.6-php8.0
+  image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
+  commands:
+    - bash tests/drone-run-php-tests.sh || exit 0
+    - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
+
+services:
+- name: cache
+  image: ghcr.io/nextcloud/continuous-integration-redis:latest
+- name: mariadb
+  image: ghcr.io/nextcloud/continuous-integration-mariadb-10.6continuous-integration-mariadb-10.6:10.6
+  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: mysql8.0-php7.4