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:
authoracsfer <carlos@reendex.com>2021-11-24 00:21:58 +0300
committerGitHub <noreply@github.com>2021-11-24 00:21:58 +0300
commitadb2312d3d34fe832c7d4ffe162108587b584aa0 (patch)
treee0d559acf24eb3b242623b3c9e2685aa4d47e772 /.drone.yml
parentfd487c1a43874bf7eaeebe2ff822e18978b6d1e1 (diff)
Add Drone php8.0 pipelines for MariaDB10.4, MySQL8, PGSQL13
Add Drone php8.0 pipelines for MariaDB10.4, MySQL8, PGSQL13
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml116
1 files changed, 110 insertions, 6 deletions
diff --git a/.drone.yml b/.drone.yml
index 43a3866ce02..2c65cfc7d9e 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -397,7 +397,6 @@ trigger:
---
kind: pipeline
name: mariadb10.4-php7.4
-#name: mariadb10.4-php8.0
steps:
- name: submodules
@@ -409,11 +408,42 @@ steps:
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
-#- name: mariadb10.4-php8.0
-# image: nextcloudci/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.4:10.4
+ 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: mariadb10.4-php8.0
+
+steps:
+- name: submodules
+ image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
+ commands:
+ - git submodule update --init
+- name: mariadb10.4-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
@@ -475,6 +505,43 @@ trigger:
---
kind: pipeline
+name: mysql8.0-php8.0
+
+steps:
+- name: submodules
+ image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
+ commands:
+ - git submodule update --init
+- name: mysql-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 mysql
+
+services:
+- name: cache
+ 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" ]
+ 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: postgres9.6-php7.3
steps:
@@ -651,6 +718,43 @@ trigger:
event:
- pull_request
- push
+
+---
+kind: pipeline
+name: postgres13-php8.0
+
+steps:
+- name: submodules
+ image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
+ commands:
+ - git submodule update --init
+- name: postgres-php8.0
+ image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
+ commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
+ - sleep 10 # gives the database enough time to initialize
+ - POSTGRES=13 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
+
+services:
+- name: cache
+ image: ghcr.io/nextcloud/continuous-integration-redis:latest
+- name: postgres-13
+ image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
+ environment:
+ POSTGRES_USER: oc_autotest
+ POSTGRES_DB: oc_autotest_dummy
+ POSTGRES_PASSWORD: owncloud
+ tmpfs:
+ - /var/lib/postgresql/data
+
+trigger:
+ branch:
+ - master
+ - stable*
+ event:
+ - pull_request
+ - push
+
---
kind: pipeline
name: mysqlmb4-php7.4