Skip to content
Snippets Groups Projects
Verified Commit e154d6e1 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: mysql8 pipeline

parent dcf6395a
Branches
No related tags found
No related merge requests found
Pipeline #9183 failed
FROM mysql:8 FROM debian:buster
RUN apt-get update \ RUN apt-get update \
&& \ && \
apt-get install -y \ apt-get install -y \
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
# #
services: services:
- mariadb:10.4 - mysql:8
variables: variables:
DEPLOY_REF: dev DEPLOY_REF: dev
CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-mysqlbackend/testenv:latest CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-mysqlbackend/testenv:latest
...@@ -52,7 +52,7 @@ unittests: ...@@ -52,7 +52,7 @@ unittests:
- cp config.defaults .config - cp config.defaults .config
- echo 'DATABASE_USER_HOST_LIST="%,"' >> .config - echo 'DATABASE_USER_HOST_LIST="%,"' >> .config
- echo "MYSQL_USER_PASSWORD=$MYSQL_ROOT_PASSWORD" >> .config - echo "MYSQL_USER_PASSWORD=$MYSQL_ROOT_PASSWORD" >> .config
- echo "MYSQL_HOST=mariadb" >> .config - echo "MYSQL_HOST=mysql" >> .config
- sleep 10 - sleep 10
- make install - make install
- ./utils/make_db restore_db tests/example.dump.sql - ./utils/make_db restore_db tests/example.dump.sql
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment