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

WIP: CI for mysql: Default authentication method.

parent e76a2cdc
No related branches found
No related tags found
2 merge requests!7Release v5.0.0,!4CI pipeline for mysql unit tests
Pipeline #9820 failed
......@@ -20,8 +20,10 @@
#
services:
# - mariadb:10.4
- mysql:8.0
- 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
......@@ -67,7 +69,6 @@ unittests:
- echo "MYSQL_USER_PASSWORD=$MYSQL_ROOT_PASSWORD" >> .config
- echo "MYSQL_HOST=mysql" >> .config
- sleep 10
- cat .config
- make install
- ./utils/make_db restore_db tests/example.dump.sql
- ./tests/test_utils.sh
......
......@@ -56,9 +56,6 @@ if [[ -z "$MYSQL_CMD" ]] ; then
fi
# Restore backup.
echo "-------"
echo "$my_env"
echo "-------"
eval "$my_env"
export MYSQL_CMD
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment