Merge branch 'feature/ci' into develop
This commit is contained in:
commit
58e5e2ff4e
|
@ -1,9 +1,13 @@
|
|||
pipeline:
|
||||
wait_db:
|
||||
image: gitnet.fr/deblan/timeout:latest
|
||||
commands:
|
||||
- /bin/timeout -t 30 -v -c 'while true; do nc -z -v db 3306 2>&1 | grep succeeded && exit 0; sleep 0.5; done'
|
||||
|
||||
create_db:
|
||||
image: mariadb:10.3
|
||||
secrets: [mysqldump]
|
||||
commands:
|
||||
- sleep 20
|
||||
- mysql -hdb -uroot -proot -e "CREATE DATABASE app"
|
||||
- eval "$MYSQLDUMP" | mysql -hdb -uroot -proot app
|
||||
when:
|
||||
|
@ -31,14 +35,14 @@ pipeline:
|
|||
commands:
|
||||
- ./bin/doctrine-migrate
|
||||
when:
|
||||
branch: [master, master-*, develop, develop-*]
|
||||
branch: [master, master-*, develop, develop-*, feature/*]
|
||||
|
||||
jsroutes:
|
||||
image: deblan/php:8.1
|
||||
commands:
|
||||
- php bin/console fos:js-routing:dump --format=json --target=public/js/fos_js_routes.json
|
||||
when:
|
||||
branch: [master, master-*, develop, develop-*]
|
||||
branch: [master, master-*, develop, develop-*, feature/*]
|
||||
|
||||
node:
|
||||
image: node:16-slim
|
||||
|
|
Loading…
Reference in a new issue