Configure env file during php-build
This commit is contained in:
parent
8858cb7a1e
commit
55f6c5a7e1
15
.env.testing
Normal file
15
.env.testing
Normal file
@ -0,0 +1,15 @@
|
||||
APP_NAME=Laravel
|
||||
APP_ENV=testing
|
||||
APP_KEY=
|
||||
APP_DEBUG=true
|
||||
APP_URL=http://localhost
|
||||
|
||||
LOG_CHANNEL=stack
|
||||
LOG_LEVEL=debug
|
||||
|
||||
BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
FILESYSTEM_DRIVER=local
|
||||
QUEUE_CONNECTION=sync
|
||||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
@ -13,8 +13,11 @@ php-build-job:
|
||||
image: composer:2
|
||||
script:
|
||||
- composer install
|
||||
- cp .env.testing .env
|
||||
- php artisan key:generate
|
||||
artifacts:
|
||||
paths:
|
||||
- .env
|
||||
- vendor/
|
||||
|
||||
php-test-job:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user