Skip to content
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 13 additions & 49 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ steps:
commands:
- git submodule update --init
- name: checkers
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
commands:
- ./autotest-checkers.sh
secrets: [ github_token ]
Expand Down Expand Up @@ -224,7 +224,7 @@ steps:
commands:
- git submodule update --init
- name: nodb-php7.4
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
Expand Down Expand Up @@ -256,7 +256,7 @@ steps:
commands:
- git submodule update --init
- name: sqlite-php7.4
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
Expand All @@ -280,15 +280,15 @@ trigger:

---
kind: pipeline
name: mariadb10.1-php7.4
name: mariadb10.2-php7.4

steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: mariadb10.1-php7.4
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
- name: mariadb10.2-php7.4
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
Expand All @@ -297,7 +297,7 @@ services:
- name: cache
image: ghcr.io/nextcloud/continuous-integration-redis:latest
- name: mariadb
image: ghcr.io/nextcloud/continuous-integration-mariadb-10.1:10.1
image: ghcr.io/nextcloud/continuous-integration-mariadb-10.2:10.2
environment:
MYSQL_ROOT_PASSWORD: owncloud
MYSQL_USER: oc_autotest
Expand Down Expand Up @@ -396,7 +396,7 @@ steps:
commands:
- git submodule update --init
- name: mysql-php7.4
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
Expand All @@ -423,42 +423,6 @@ trigger:
- pull_request
- push

---
kind: pipeline
name: postgres9.6-php7.4

steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: postgres-php7.4
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
- POSTGRES=9 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql

services:
- name: cache
image: ghcr.io/nextcloud/continuous-integration-redis:latest
- name: postgres-9
image: ghcr.io/nextcloud/continuous-integration-postgres-9:postgres-9.6
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: postgres11-php7.4
Expand All @@ -469,7 +433,7 @@ steps:
commands:
- git submodule update --init
- name: postgres-php7.4
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
Expand Down Expand Up @@ -1830,7 +1794,7 @@ steps:
commands:
- git submodule update --init
- name: nodb-codecov
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
Expand Down Expand Up @@ -1862,7 +1826,7 @@ steps:
commands:
- git submodule update --init
- name: db-codecov
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
Expand Down Expand Up @@ -1903,7 +1867,7 @@ steps:
commands:
- git submodule update --init
- name: object-store
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
environment:
OBJECT_STORE: s3
CODECOV_TOKEN:
Expand Down Expand Up @@ -1933,7 +1897,7 @@ steps:
commands:
- git submodule update --init
- name: object-store
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
environment:
OBJECT_STORE: azure
CODECOV_TOKEN:
Expand Down