Commit 564732d6 authored by catch's avatar catch
Browse files

Issue #3385621 by fjgarlin, andypost, dimitriskr, longwave: [GitlabCI] MariaDB...

Issue #3385621 by fjgarlin, andypost, dimitriskr, longwave: [GitlabCI] MariaDB currently not working

(cherry picked from commit a2c2025d)
parent 7a51238b
Loading
Loading
Loading
Loading
Loading
+5 −12
Original line number Diff line number Diff line
@@ -202,18 +202,11 @@ default:
    _TARGET_PHP: "8.3"
    _TARGET_DB: "sqlite-3"

# Run daily, or manually.
# 'PHP 8.1 MariaDB 10.3.22':
#   <<: [ *default-stage, *run-daily ]
#   variables:
#     _TARGET_PHP: "8.1"
#     _TARGET_DB: "mariadb-10.3.22"

# 'PHP 8.1 MySQL 5.7 with updated deps':
#   <<: [ *default-stage, *run-daily ]
#   variables:
#     _TARGET_PHP: "8.1"
#     _TARGET_DB: "mysql-5.7"
'PHP 8.1 MariaDB 10.3.22':
  <<: [ *default-stage, *run-daily ]
  variables:
    _TARGET_PHP: "8.1"
    _TARGET_DB: "mariadb-10.3.22"

'PHP 8.1 PostgreSQL 14.1':
  <<: [ *default-stage, *run-daily ]
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ default:
      [[ $_TARGET_DB == mysql* ]] && export SIMPLETEST_DB=mysql://$MYSQL_USER:$MYSQL_PASSWORD@database/$MYSQL_DATABASE?module=mysql
      [[ $_TARGET_DB == mariadb* ]] && export SIMPLETEST_DB=mysql://$MYSQL_USER:$MYSQL_PASSWORD@database/$MYSQL_DATABASE?module=mysql
      [[ $_TARGET_DB == pgsql* ]] && export SIMPLETEST_DB=pgsql://$POSTGRES_USER:$POSTGRES_PASSWORD@database/$POSTGRES_DB?module=pgsql
    - echo "SIMPLETEST_DB = $SIMPLETEST_DB"
    - $CI_PROJECT_DIR/.gitlab-ci/scripts/server-setup.sh
  after_script:
    - sed -i "s#$CI_PROJECT_DIR/##" ./sites/default/files/simpletest/phpunit-*.xml || true