From 5086fe06c0740ea24eda4709574bd1bca0a317f4 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Sun, 5 Sep 2021 12:58:41 +0100 Subject: [PATCH] Fix up MariaDB launch --- .woodpecker.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 25be5d4..9a98873 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -21,13 +21,11 @@ pipeline: image: rust:1.54.0-slim-bullseye commands: - apt-get -qq update && apt-get -yqq -o=Dpkg::Use-Pty=0 install pkg-config libssl-dev build-essential libsqlite3-dev python3.9 python3.9-venv postgresql postgresql-client mariadb-server mariadb-client - - 'ls /run/mysqld || :' - pg_ctlcluster 13 main start + - "mysqld &" - su postgres -c 'createuser root' - su postgres -c 'createdb -O root testsuitedb' - psql testsuitedb -c 'CREATE TABLE testsuitetable ();' - - 'systemctl status mysqld || :' - - 'systemctl status mariadb || :' - mysql -e 'CREATE DATABASE testsuitemydb; USE testsuitemydb; CREATE TABLE sometable (INT PRIMARY KEY); INSERT INTO sometable VALUES (42);' - cargo install -q --path yama - cargo install -q --path datman