From 5fa633eb39a67baa7700cdff247ffd59ab7ef5f5 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sun, 7 Nov 2021 23:38:04 +0100 Subject: [PATCH] Drone | check database.sql --- .drone.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 00bd46dbda..580d8b8af7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -146,7 +146,7 @@ steps: volumes: - name: cache path: /tmp/cache - - name: Test Friendica + - name: Recreate database.sql image: friendicaci/php7.4:php7.4.18 environment: MYSQL_HOST: "mariadb" @@ -183,6 +183,22 @@ steps: echo "database.sql mismatch."; exit 1; fi + +services: + - name: mariadb + image: mariadb:latest + environment: + MYSQL_ALLOW_EMPTY_PASSWORD: "true" + MYSQL_DATABASE: "test" + MYSQL_PASSWORD: "test" + MYSQL_USER: "test" + tmpfs: + - /var/lib/mysql + +volumes: + - name: cache + host: + path: /tmp/drone-cache --- kind: pipeline type: docker