From 00870ceff2d5813c69fc2478d5e886da2aa9d357 Mon Sep 17 00:00:00 2001
From: Yassine Doghri <yassine@doghri.fr>
Date: Fri, 14 Mar 2025 13:45:36 +0000
Subject: [PATCH] ci: skip ssl when connecting to mariadb test database

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 69ebc71d1..e8ff6dd50 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -80,14 +80,14 @@ lint-js:
 tests:
   stage: quality
   services:
-    - mariadb:10.2
+    - mariadb:10.11
   variables:
     MYSQL_ROOT_PASSWORD: "R00Tp4ssW0RD"
     MYSQL_DATABASE: "test"
     MYSQL_USER: "castopod"
     MYSQL_PASSWORD: "castopod"
   script:
-    - echo "SHOW DATABASES;" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mariadb "$MYSQL_DATABASE"
+    - echo "SHOW DATABASES;" | mariadb --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mariadb "$MYSQL_DATABASE" --skip_ssl
 
     # run phpunit without code coverage
     # TODO: add code coverage
-- 
GitLab