Commit Graph

19 Commits

Author SHA1 Message Date
Javi Martín
b36e659f4e Use puma instead of unicorn
Puma is the server we use in the development environment, so this way we
don't need to maintain two servers. Furthermore, puma seems to offer a
few advantages over unicorn (like multithreading) and no disadvantages.
2019-10-12 16:50:49 +02:00
Javi Martín
94a7e13dce Update capistrano's restart unicorn task
Our current unicorn task wasn't working in some cases. We also had a
version in the `capistrano` branch, which was the one we recommended.
However, that version assumed RVM, a certain ruby version and a certain
deploy folder were used. This version uses `bundle exec` and variables
like `release_path`, so it does not depend on any specific
configuration.

Even if we're replacing unicorn with puma, I wanted to make this change
in case we need it as a reference in the future.
2019-10-10 21:01:42 +02:00
decabeza
f0305e36a6 Replace capistrano task restart file 2019-04-24 14:04:01 +02:00
Julian Herrero
002e16ce30 Use double quotes in lib/ 2019-03-15 10:29:07 +01:00
voodoorai2000
d0dbb16d72 Add unicorn restart task to deploy namespace 2018-09-21 18:11:21 +02:00
voodoorai2000
e3c6fc77c6 Update Unicorn restart task
We are using a simple unicorn.rb file in the Installer, which requires a different way of restarting the server

This task is still a little limited and hackish but it does the job for now 😌

We are killing any existing unicorn process and starting unicorn. It checks for existing processes in both the standard consul folder and in the capistrano `current` folder, and skipping any exception if unicorn was not running.
2018-09-21 15:39:56 +02:00
Angel Perez
c643656067 Add Capistrano task to automate maintenance mode 2017-11-17 13:11:17 -04:00
rgarcia
012d5297ed removes capistrano template configuration 2017-05-04 01:21:08 +02:00
Juanjo Bazán
1e0ac137bb removes beta testers functionality 2015-10-29 13:19:00 +01:00
Juanjo Bazán
31788ff7eb changes capistrano task description 2015-10-15 16:40:34 +02:00
kikito
12bf3856c1 adds a capistrano task to clear memcached easily 2015-09-07 13:15:56 +02:00
rgarcia
ebddcfa1d0 cleans up delayed_jobs for capistrano 2015-09-04 00:27:14 +02:00
rgarcia
feaf4465f3 adds capistrano tasks and hooks for delayed_jobs 2015-09-03 23:26:28 +02:00
rgarcia
a82eac8e16 adds capistrano task to upload secrets.yml 2015-09-01 20:12:44 +02:00
rgarcia
e80fe261c8 removes old assets when deploying 2015-09-01 15:34:27 +02:00
rgarcia
358f8cc392 symlink beta-testers file after a deploy 2015-08-31 14:03:08 +02:00
rgarcia
d0fa2a3ae6 adds capistrano task to upload beta tester list 2015-08-29 15:54:17 +02:00
rgarcia
c39657cf5c fixes capistrano unicorn restart task 2015-08-21 17:06:35 +02:00
Manuel Maldonado
4b501ee46b Capistrano recipe 2015-08-12 01:36:42 +02:00