| 2008-06-10 15:48:24 | Ответить |
|---|---|
|
Ochirov Tsyren Адрес: Новосибирск Сообщений: 40 Регистр: 2008-03-17 его блог 1 сообщ. |
Capistrano 2.2.0 |
|
Не нашёл тут о Капистрано.
Капистрано это утилита для удаленного управления серверами и автоматизации удаленных задач. Он широко используется для развертывания Rails (но может сделать боже, так много больше). Версия 2.2.0 сейчас доступна Version 2.2.0: FEATURE: Dynamic role definition. The role() method now accepts a block, which should return either a host name, a Capistrano::ServerDefinition object, an array of host names, or an array of Capistrano::ServerDefinition objects. This can be used to describe the servers in a role at runtime. role :app do hosts = some_method_that_looks_up_the_current_hosts hosts[0,3] end FEATURE: Alternative server-centric role definitions, using the server() method: role :app, "server" role :web, "server" # the above is the same as this: server "server", :app, :web FEATURE: Support for a :max_hosts option in tasks, that restricts the task so that it is only executed in hosts at a time, in chunks. This helps people who use Capistrano with very large numbers of servers, and prevents them running into connection caps and from running out of memory. task :ping, :max_hosts => 100 do # anything here will only run against 100 hosts at a time end # alternatively, you can pass :max_hosts to the run command itself for # finer granularity task :pong do # this will run on ALL hosts at once run "something" # this will run on no more than 100 hosts at a time run "something-else", :max_hosts => 100 end |
|
| capistrano, rails deploy |
| 2008-06-09 14:18:44 | Ответить |
|---|---|
|
Ruslan Voloshin Адрес: odessa Сообщений: 1226 Регистр: 2007-03-13 его блог 40 сообщ. |
RE: Capistrano 2.2.0 |
|
я не писал статей по капистрано так как не использую :)
------------
и в принципе я сдеть стараюсь описывать то чем я пользуюсь и те грабли на которые я стаю, так что если так будет делать хотя бы часть постоянных пользователей то мы получим довольно не плохо й ресурс Занимаюсь вебом и продвижением сайтов.
|
|
| capistrano |