[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
|
LOG_CHANNEL=stack
|
||||||
|
|
||||||
DB_CONNECTION=mysql
|
DB_CONNECTION=mysql
|
||||||
DB_HOST=127.0.0.1
|
DB_HOST=db
|
||||||
DB_PORT=3306
|
DB_PORT=3306
|
||||||
DB_DATABASE=clearbowl
|
DB_DATABASE=clearbowl
|
||||||
DB_USERNAME=root
|
DB_USERNAME=root
|
||||||
|
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -6,7 +6,7 @@ node {
|
|||||||
sh 'while ! mysqladmin ping -hdb --silent; do sleep 1; done'
|
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("Build") { sh 'composer install && mv .env.example .env' }
|
||||||
stage("Test") { sh 'vendor/bin/phpunit' }
|
stage("Test") { sh 'vendor/bin/phpunit' }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user