Skip to content

Commit b2d03ee

Browse files
Merge pull request #994 from nextcloud/ci/mariadb-11.4
ci: test against MariaDB 11.4 (too)
2 parents ba5a192 + 023b659 commit b2d03ee

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

.github/workflows/phpunit-mariadb.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
matrix:
6969
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
7070
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
71-
mariadb-versions: ['10.6', '10.11']
71+
mariadb-versions: ['10.6', '10.11', '11.4']
7272

7373
name: MariaDB ${{ matrix.mariadb-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
7474

@@ -78,8 +78,12 @@ jobs:
7878
ports:
7979
- 4444:3306/tcp
8080
env:
81-
MYSQL_ROOT_PASSWORD: rootpassword
82-
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 5
81+
MARIADB_ROOT_PASSWORD: rootpassword
82+
options: >-
83+
--health-cmd="mariadb-admin ping"
84+
--health-interval=5s
85+
--health-timeout=2s
86+
--health-retries=5
8387
8488
steps:
8589
- name: Set app env

.github/workflows/profile.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ jobs:
2828
name: php${{ matrix.php-version }} ${{ matrix.flag }} profiling
2929
services:
3030
mysql-service:
31-
image: mariadb:10.11
31+
image: ghcr.io/nextcloud/continuous-integration-mariadb-11.4:latest
3232
env:
33-
MYSQL_ROOT_PASSWORD: my-secret-pw
34-
MYSQL_DATABASE: nextcloud
35-
MYSQL_USER: nextcloud
36-
MYSQL_PASSWORD: nextcloud
33+
MARIADB_ROOT_PASSWORD: my-secret-pw
34+
MARIADB_DATABASE: nextcloud
35+
MARIADB_USER: nextcloud
36+
MARIADB_PASSWORD: nextcloud
3737
ports:
3838
- 3306:3306
3939
options: >-
40-
--health-cmd="mysqladmin ping"
41-
--health-interval=10s
42-
--health-timeout=5s
43-
--health-retries=3
40+
--health-cmd="mariadb-admin ping"
41+
--health-interval=5s
42+
--health-timeout=2s
43+
--health-retries=5
4444
steps:
4545
- name: Set up php${{ matrix.php-version }}
4646
uses: shivammathur/setup-php@master

0 commit comments

Comments
 (0)