-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed as not planned
Closed as not planned
Copy link
Labels
Description
- Deployer version: 7.0.2
- Deployment OS: Ubuntu 20
deploy.php
<?php
namespace Deployer;
require 'recipe/laravel.php';
set('default_timeout', null); // because of long-running migrations
set('shared_dirs', [
'storage',
'uploads',
]);
host('<host>')
->setLabels([
'stage' => 'staging',
])
->setRemoteUser('<user>')
->setDeployPath('<path>');
task('deploy', [
'deploy:prepare',
'artisan:storage:link',
'artisan:optimize:clear', // clear all caches
'artisan:config:cache',
'artisan:route:cache',
'artisan:view:cache',
'artisan:event:cache',
'artisan:down',
'artisan:migrate',
'deploy:symlink',
'artisan:up',
'artisan:horizon:terminate',
'deploy:unlock',
'deploy:cleanup',
'deploy:success',
]);
after('deploy:failed', 'deploy:unlock');Hello, I recently upgraded to Deployer 7 and I just encountered a long-running migration that caused the deploy to fail after 300 seconds, despite default_timeout being set to null.
This used to work in Deployer 6 so not too sure what's going on...
Upvote & Fund
- We're using Polar.sh so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.