[CLEAR-22] Jenkinsfile and .env.example

This commit is contained in:
Artur Nowakowski 2019-11-30 18:24:33 +01:00
parent b1b5dda0db
commit c8c88acba9
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ APP_URL=http://localhost
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_HOST=db
DB_PORT=3306
DB_DATABASE=clearbowl
DB_USERNAME=root

2
Jenkinsfile vendored
View File

@ -6,7 +6,7 @@ node {
sh 'while ! mysqladmin ping -hdb --silent; do sleep 1; done'
}
}
docker.image('php:7.4').inside("--link ${c.id}:db") {
docker.image('circleci/php:7.4').inside("--link ${c.id}:db") {
stage("Build") { sh 'composer install && mv .env.example .env' }
stage("Test") { sh 'vendor/bin/phpunit' }
}