Drone | check database.sql
This commit is contained in:
parent
d3b0d4dbde
commit
5fa633eb39
18
.drone.yml
18
.drone.yml
|
@ -146,7 +146,7 @@ steps:
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /tmp/cache
|
path: /tmp/cache
|
||||||
- name: Test Friendica
|
- name: Recreate database.sql
|
||||||
image: friendicaci/php7.4:php7.4.18
|
image: friendicaci/php7.4:php7.4.18
|
||||||
environment:
|
environment:
|
||||||
MYSQL_HOST: "mariadb"
|
MYSQL_HOST: "mariadb"
|
||||||
|
@ -183,6 +183,22 @@ steps:
|
||||||
echo "database.sql mismatch.";
|
echo "database.sql mismatch.";
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
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
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
|
Loading…
Reference in New Issue
Block a user