пятница, 29 июля 2011 г.

Re: deploy

ключи, мозги, тело.

29 июля 2011 г. 22:43 пользователь Shukhrat Tursunov <shuhrat10@gmail.com> написал:
запускаю делой

cap deploy
  * executing `deploy'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
    updating the cached checkout on all servers
    executing locally: "git ls-remote git@xxx.xxx.xxx.xxx:project.git master"
  * executing "if [ -d /sites/myapp/shared/cached-copy ]; then cd /sites/myapp/shared/cached-copy && git fetch -q origin && git reset -q --hard 86986227112008cc26acb1b49647dd0443dc0e1e && git clean -q -d -x -f; else git clone -q git@xxx.xxx.xxx.xxx:project.git /sites/myapp/shared/cached-copy && cd /sites/myapp/shared/cached-copy && git checkout -q -b deploy 86986227112008cc26acb1b49647dd0443dc0e1e; fi"
    servers: ["xxx.xxx.xxx.xxx"]
    [user_name@xxx.xxx.xxx.xxx] executing command
 ** [xxx.xxx.xxx.xxx :: err] fatal: Not a git repository (or any of the parent directories): .git
    command finished
*** [deploy:update_code] rolling back
  * executing "rm -rf /sites/myapp/releases/20110729183831; true"
    servers: ["xxx.xxx.xxx.xxx"]
    [user_name@xxx.xxx.xxx.xxx] executing command
    command finished
failed: "rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell 'ree' -c 'if [ -d /sites/myapp/shared/cached-copy ]; then cd /sites/myapp/shared/cached-copy && git fetch -q origin && git reset -q --hard 86986227112008cc26acb1b49647dd0443dc0e1e && git clean -q -d -x -f; else git clone -q git@xxx.xxx.xxx.xxx:project.git /sites/myapp/shared/cached-copy && cd /sites/myapp/shared/cached-copy && git checkout -q -b deploy 86986227112008cc26acb1b49647dd0443dc0e1e; fi'" on user_name@xxx.xxx.xxx.xxx

локально git clone user_name@xxx.xxx.xxx.xxx:project.git - все работает отлично

делаю по инструкции http://habrahabr.ru/blogs/ror/120368/

--
--
Данное сообщение отправлено Вам, так как Вы являетесь подписчиком группы "RubyOnRails to russian" на группах Google.
FAQ группы находится по адресу: http://ru.wikibooks.org/wiki/RubyFAQ
 
Для того, чтобы отправить сообщение в эту группу, пошлите его по адресу
ror2ru@googlegroups.com
Чтобы отменить подписку на эту группу, отправьте сообщение по адресу: ror2ru-unsubscribe@googlegroups.com
Дополнительные варианты находятся на странице группы http://groups.google.com/group/ror2ru?hl=ru

--
--
Данное сообщение отправлено Вам, так как Вы являетесь подписчиком группы "RubyOnRails to russian" на группах Google.
FAQ группы находится по адресу: http://ru.wikibooks.org/wiki/RubyFAQ
 
Для того, чтобы отправить сообщение в эту группу, пошлите его по адресу
ror2ru@googlegroups.com
Чтобы отменить подписку на эту группу, отправьте сообщение по адресу: ror2ru-unsubscribe@googlegroups.com
Дополнительные варианты находятся на странице группы http://groups.google.com/group/ror2ru?hl=ru

Комментариев нет:

Отправить комментарий