[CLEAR-22] Jenkinsfile and .env.example
This commit is contained in:
parent
b1b5dda0db
commit
c8c88acba9
@ -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
|
||||
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -6,8 +6,8 @@ node {
|
||||
sh 'while ! mysqladmin ping -hdb --silent; do sleep 1; done'
|
||||
}
|
||||
}
|
||||
docker.image('php:7.4').inside("--link ${c.id}:db") {
|
||||
stage("Build") { sh 'composer install && mv .env.example .env'}
|
||||
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' }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user