Skip to content
Snippets Groups Projects
Verified Commit bb690bb2 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

ENH: CI for mysql: Separate services for different testing jobs.

parent 185f3c86
Branches
Tags
2 merge requests!7Release v5.0.0,!4CI pipeline for mysql unit tests
Pipeline #9831 failed
......@@ -19,11 +19,6 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
services:
- mariadb:10.4
- name: mysql:8.0
command: ["--default-authentication-plugin=mysql_native_password"]
variables:
DEPLOY_REF: dev
CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-mysqlbackend/testenv:latest
......@@ -58,19 +53,26 @@ build-testenv:
######## Test ########
# Run the unit tests with MySQL
unittests-mysql:
# Run the unit tests with MariaDB
unittests-mariadb:
tags: [ docker ]
stage: test
services:
- mariadb:10.4
script:
- make pipeline-test SQL_HOST=mysql
- make pipeline-test SQL_HOST=mariadb
# Run the unit tests with MariaDB
unittests-mariadb:
# Run the unit tests with MySQL
unittests-mysql:
tags: [ docker ]
stage: test
services:
- name: mysql:8.0
command: ["--default-authentication-plugin=mysql_native_password"]
script:
- make pipeline-test SQL_HOST=mariadb
- make pipeline-test SQL_HOST=mysql
######## Deploy ########
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment