News for hackers. Stuff that matters.
Re:Deploys at Slack by icedchai on Wednesday April 08, 2020 @10:09PM (#22819179)
If I was using PHP, I wouldn't use containers either. Just sync the latest code over, change a sym link to the new build, done.
Re:Deploys at Slack by conradfr on Thursday April 09, 2020 @06:36PM (#22827924)
That seems a little bit simplistic for today's workflow as there's chances you'll need to to restart php-fpm anyway, discard/refresh some cache (Doctrine metadada ...), maybe update your composer / vendor directory and its autoloading files, maybe run db migrations and more.
Re:Deploys at Slack by 1f97 on Thursday April 09, 2020 @04:53AM (#22820848)
capistrano is perfect for that. we use it for all our deployment needs and it has been wonderful!
Re:Deploys at Slack by mcpeepants on Thursday April 09, 2020 @06:49AM (#22821310)
second this. I haven't needed cap in a while for the work I'm doing, and I don't often see it mentioned (perhaps because I'm not looking) but it's a fantastic tool for managing atomic deployment.