Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
38 changes: 37 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,24 @@ steps:
commands:
- bash tests/Codeception/drone-system-run.sh "$(pwd)" postgres

- name: phpmin-system-mariadb-min
depends_on:
- phpmax-system-mysql
image: joomlaprojects/docker-images:systemtests
environment:
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
commands:
- bash tests/Codeception/drone-system-run.sh "$(pwd)" mariadb_min

- name: phpmin-system-mariadb-max
depends_on:
- phpmax-system-mysql
image: joomlaprojects/docker-images:systemtests
environment:
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
commands:
- bash tests/Codeception/drone-system-run.sh "$(pwd)" mariadb_max

- name: artifacts-system-tests
image: cschlosser/drone-ftps
depends_on:
Expand All @@ -326,6 +344,8 @@ steps:
- phpmin-system-mysql
- phpmin-system-mysql8
- phpmin-system-postgres
- phpmin-system-mariadb-min
- phpmin-system-mariadb-max
# - phpnext-api-mysql
# - phpnext-api-postgres
- phpmax-api-mysql
Expand Down Expand Up @@ -385,6 +405,22 @@ services:
POSTGRES_PASSWORD: joomla_ut
POSTGRES_DB: test_joomla

- name: mariadb_min
image: mariadb:10.1
environment:
MYSQL_USER: joomla_ut
MYSQL_PASSWORD: joomla_ut
MYSQL_ROOT_PASSWORD: joomla_ut
MYSQL_DATABASE: test_joomla

- name: mariadb_max
image: mariadb:latest
environment:
MARIADB_USER: joomla_ut
MARIADB_PASSWORD: joomla_ut
MARIADB_ROOT_PASSWORD: joomla_ut
MARIADB_DATABASE: test_joomla

---
kind: pipeline
name: package
Expand Down Expand Up @@ -420,6 +456,6 @@ steps:

---
kind: signature
hmac: d9707d261edba35bc6b70f09a1babee119cb0a88cebda40171248e5c0a8b135e
hmac: ffd76916a8d1fa987846a0eaf48c8643fbe1d99252307ccfe5976c404936beaa

...
22 changes: 22 additions & 0 deletions tests/Codeception/acceptance.suite.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,25 @@ env:
cmsPath: '/tests/www/mysqlphpnext'
Helper\JoomlaDb:
prefix: 'phpnext_'
mariadb_min:
modules:
config:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/mariadb_min'
database host: 'mariadb_min'
database prefix: 'mariadb_'
cmsPath: '/tests/www/mariadb'
Helper\JoomlaDb:
dsn: 'mysql:host=mariadb_min;dbname=test_joomla'
prefix: 'mariadb_'
mariadb_max:
modules:
config:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/mariadb_max'
database host: 'mariadb_max'
database prefix: 'mariadb_'
cmsPath: '/tests/www/mariadb'
Helper\JoomlaDb:
dsn: 'mysql:host=mariadb_max;dbname=test_joomla'
prefix: 'mariadb_'