ci(conf): use deblan php images
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
This commit is contained in:
parent
c16e4652cb
commit
b1bf3a42a1
|
@ -22,7 +22,7 @@ pipeline:
|
||||||
- mysql -hdb -uroot -proot -e "CREATE DATABASE app_test"
|
- mysql -hdb -uroot -proot -e "CREATE DATABASE app_test"
|
||||||
|
|
||||||
config:
|
config:
|
||||||
image: deblan/php:8.1
|
image: gitnet.fr/deblan/php:8.1
|
||||||
commands:
|
commands:
|
||||||
- echo APP_ENV=prod >> .env.local
|
- echo APP_ENV=prod >> .env.local
|
||||||
- echo APP_SECRET=$(openssl rand -hex 32) >> .env.local
|
- echo APP_SECRET=$(openssl rand -hex 32) >> .env.local
|
||||||
|
@ -30,13 +30,13 @@ pipeline:
|
||||||
- echo DATABASE_URL=mysql://root:root@db/app_test >> .env.test.local
|
- echo DATABASE_URL=mysql://root:root@db/app_test >> .env.test.local
|
||||||
|
|
||||||
composer:
|
composer:
|
||||||
image: deblan/php:${PHP_VERSION}
|
image: gitnet.fr/deblan/php:${PHP_VERSION}
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && apt-get -y install git
|
- apt-get update && apt-get -y install git
|
||||||
- composer install --no-scripts
|
- composer install --no-scripts
|
||||||
|
|
||||||
migrate:
|
migrate:
|
||||||
image: deblan/php:${PHP_VERSION}
|
image: gitnet.fr/deblan/php:${PHP_VERSION}
|
||||||
environment:
|
environment:
|
||||||
- PHP=php
|
- PHP=php
|
||||||
commands:
|
commands:
|
||||||
|
@ -51,7 +51,7 @@ pipeline:
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
image: deblan/php:${PHP_VERSION}
|
image: gitnet.fr/deblan/php:${PHP_VERSION}
|
||||||
commands:
|
commands:
|
||||||
- composer install --no-scripts --dev
|
- composer install --no-scripts --dev
|
||||||
- vendor/bin/bdi detect drivers
|
- vendor/bin/bdi detect drivers
|
||||||
|
|
Loading…
Reference in a new issue