Install deps
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
parent
dab09640a0
commit
d5a93b9cfe
|
@ -39,8 +39,19 @@ pipeline {
|
|||
stage('Run containers') {
|
||||
steps {
|
||||
sh "docker compose -f ${DOCKER_COMPOSE_FILE} up -d"
|
||||
sh "docker compose -f ${DOCKER_COMPOSE_FILE} ps"
|
||||
sh "docker compose -f ${DOCKER_COMPOSE_FILE} down"
|
||||
}
|
||||
}
|
||||
stage('Install dependencies') {
|
||||
steps {
|
||||
// Install dependencies
|
||||
sh """
|
||||
docker compose exec php composer install
|
||||
docker compose exec php php bin/console lexik:jwt:generate-keypair --overwrite
|
||||
docker compose exec php php bin/console doctrine:migrations:migrate --no-interaction
|
||||
docker compose exec php php bin/console doctrine:fixtures:load --no-interaction
|
||||
// Create report directory
|
||||
docker compose exec php mkdir -p /report
|
||||
"""
|
||||
}
|
||||
}
|
||||
stage ("Delete Image") {
|
||||
|
|
Loading…
Reference in New Issue