diff --git a/.drone.yml b/.drone.yml index 14491c7..df9511d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,6 +33,12 @@ steps: - name: deploy to staging commands: - cd /apps/willaengine-staging/ ; docker-compose up -d + - docker exec willaengine-staging_php bash -c "COMPOSER=composer-staging.json composer update wm/common" + - docker exec willaengine-staging_php bash -c "COMPOSER=composer-staging.json composer update" + # - docker exec willaengine-staging_php service supervisor start + # - docker exec willaengine-staging_php bash -c "php artisan db:seed --class=CalculationMethodSeeder" + # - docker exec willaengine-staging_php php artisan migrate --path=vendor/wm/finance/database/migrations + # - docker exec willaengine-staging_php php artisan migrate --path=vendor/wm/finance/database/migrations when: branch: - dev diff --git a/composer-staging.json b/composer-staging.json index a9e34c5..286a34b 100644 --- a/composer-staging.json +++ b/composer-staging.json @@ -36,6 +36,7 @@ "wm/roll-call": "dev-dev", "wm/lms": "dev-dev", "wm/service-store": "dev-dev", + "predis/predis": "^1.1", "wm/contact-us": "dev-dev", "zircote/swagger-php": "^3.0" }, diff --git a/config/logging.php b/config/logging.php index 6aa77fe..0422a99 100644 --- a/config/logging.php +++ b/config/logging.php @@ -99,6 +99,11 @@ return [ 'emergency' => [ 'path' => storage_path('logs/laravel.log'), ], + 'sentry' => [ + 'driver' => 'sentry', + 'level' => 'debug', + 'bubble' => true, + ], ], ];