Fixed drone script
This commit is contained in:
parent
cda6ed6f05
commit
84133845a1
10
.drone.yml
10
.drone.yml
|
@ -164,16 +164,6 @@ steps:
|
||||||
- if ! bin/wait-for-connection $MYSQL_HOST $MYSQL_PORT 300; then echo "[ERROR] Waited 300 seconds, no response" >&2; exit 1; fi
|
- if ! bin/wait-for-connection $MYSQL_HOST $MYSQL_PORT 300; then echo "[ERROR] Waited 300 seconds, no response" >&2; exit 1; fi
|
||||||
- mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
|
- mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
|
||||||
- php ./bin/console.php dbstructure dumpsql > database.sql
|
- php ./bin/console.php dbstructure dumpsql > database.sql
|
||||||
- name: Codecov
|
|
||||||
image: plugins/codecov
|
|
||||||
when:
|
|
||||||
repo:
|
|
||||||
- friendica/friendica
|
|
||||||
settings:
|
|
||||||
token:
|
|
||||||
from_secret: codecov-token
|
|
||||||
files:
|
|
||||||
- clover.xml
|
|
||||||
- name: Check database.sql
|
- name: Check database.sql
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user