diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-02-09 14:32:05 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-02-13 20:42:08 +0100 |
commit | 7df59110b0c7aa7f51a4e325c6e1c600e5d9fa8c (patch) | |
tree | 5ee2aab9d57629fe95ff31b75b1976b5cb1944c3 | |
parent | 9577dde49eef89c76963b07101a1c37ba139798e (diff) | |
download | nextcloud-server-7df59110b0c7aa7f51a4e325c6e1c600e5d9fa8c.tar.gz nextcloud-server-7df59110b0c7aa7f51a4e325c6e1c600e5d9fa8c.zip |
fix(tests): Adjust mariadb testing matrix
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r-- | .drone.yml | 50 |
1 files changed, 44 insertions, 6 deletions
diff --git a/.drone.yml b/.drone.yml index 53e96ecf681..71f46f34822 100644 --- a/.drone.yml +++ b/.drone.yml @@ -272,14 +272,14 @@ trigger: --- kind: pipeline -name: mariadb10.2-php8.0 +name: mariadb10.3-php8.0 steps: - name: submodules image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest commands: - git submodule update --init -- name: mariadb10.2-php8.0 +- name: mariadb10.3-php8.0 image: ghcr.io/nextcloud/continuous-integration-php8.0:latest commands: - bash tests/drone-run-php-tests.sh || exit 0 @@ -289,7 +289,7 @@ services: - name: cache image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: mariadb - image: ghcr.io/nextcloud/continuous-integration-mariadb-10.2:10.2 + image: ghcr.io/nextcloud/continuous-integration-mariadb-10.3:latest environment: MYSQL_ROOT_PASSWORD: owncloud MYSQL_USER: oc_autotest @@ -310,14 +310,14 @@ trigger: --- kind: pipeline -name: mariadb10.4-php8.0 +name: mariadb10.5-php8.0 steps: - name: submodules image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest commands: - git submodule update --init -- name: mariadb10.4-php8.0 +- name: mariadb10.5-php8.0 image: ghcr.io/nextcloud/continuous-integration-php8.0:latest commands: - bash tests/drone-run-php-tests.sh || exit 0 @@ -327,7 +327,7 @@ services: - name: cache image: ghcr.io/nextcloud/continuous-integration-redis:latest - name: mariadb - image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4:10.4 + image: ghcr.io/nextcloud/continuous-integration-mariadb-10.5:latest environment: MYSQL_ROOT_PASSWORD: owncloud MYSQL_USER: oc_autotest @@ -386,6 +386,44 @@ trigger: --- kind: pipeline +name: mariadb10.11-php8.2 + +steps: +- name: submodules + image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest + commands: + - git submodule update --init +- name: mariadb10.11-php8.2 + image: ghcr.io/nextcloud/continuous-integration-php8.2: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.11:latest + environment: + MYSQL_ROOT_PASSWORD: owncloud + 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 + +trigger: + branch: + - master + - stable* + event: + - pull_request + - push + +--- +kind: pipeline name: mysql8.0-php8.0 steps: |