Skip to content

Instantly share code, notes, and snippets.

@kjs3 kjs3/gist:267850
Created Jan 3, 2010

Embed
What would you like to do?
laptop-2:sl laptop$ cap deploy
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
executing locally: "git ls-remote . HEAD"
* getting (via checkout) revision 29ad1329c2c967c24792d7977acea681322cce7d to /var/folders/M6/M6H6fXe1EmmMQ4XPjH0tGE+++TI/-Tmp-/20100103015806
executing locally: git clone -q . /var/folders/M6/M6H6fXe1EmmMQ4XPjH0tGE+++TI/-Tmp-/20100103015806 && cd /var/folders/M6/M6H6fXe1EmmMQ4XPjH0tGE+++TI/-Tmp-/20100103015806 && git checkout -q -b deploy 29ad1329c2c967c24792d7977acea681322cce7d
* processing exclusions...
compressing /var/folders/M6/M6H6fXe1EmmMQ4XPjH0tGE+++TI/-Tmp-/20100103015806 to /var/folders/M6/M6H6fXe1EmmMQ4XPjH0tGE+++TI/-Tmp-/20100103015806.tar.gz
executing locally: tar czf 20100103015806.tar.gz 20100103015806
servers: ["555.55.55.55"]
** sftp upload /var/folders/M6/M6H6fXe1EmmMQ4XPjH0tGE+++TI/-Tmp-/20100103015806.tar.gz -> /tmp/20100103015806.tar.gz
[555.55.55.55] /tmp/20100103015806.tar.gz
[555.55.55.55] done
* sftp upload complete
* executing "cd /home/user/public_html/mysite/releases && tar xzf /tmp/20100103015806.tar.gz && rm /tmp/20100103015806.tar.gz"
servers: ["555.55.55.55"]
[555.55.55.55] executing command
command finished
* executing `deploy:finalize_update'
* executing "chmod -R g+w /home/user/public_html/mysite/releases/20100103015806"
servers: ["555.55.55.55"]
[555.55.55.55] executing command
command finished
* executing "rm -rf /home/user/public_html/mysite/releases/20100103015806/log /home/user/public_html/mysite/releases/20100103015806/public/system /home/user/public_html/mysite/releases/20100103015806/tmp/pids &&\\\n mkdir -p /home/user/public_html/mysite/releases/20100103015806/public &&\\\n mkdir -p /home/user/public_html/mysite/releases/20100103015806/tmp &&\\\n ln -s /home/user/public_html/mysite/shared/log /home/user/public_html/mysite/releases/20100103015806/log &&\\\n ln -s /home/user/public_html/mysite/shared/system /home/user/public_html/mysite/releases/20100103015806/public/system &&\\\n ln -s /home/user/public_html/mysite/shared/pids /home/user/public_html/mysite/releases/20100103015806/tmp/pids"
servers: ["555.55.55.55"]
[555.55.55.55] executing command
command finished
* executing "find /home/user/public_html/mysite/releases/20100103015806/public/images /home/user/public_html/mysite/releases/20100103015806/public/stylesheets /home/user/public_html/mysite/releases/20100103015806/public/javascripts -exec touch -t 201001030158.25 {} ';'; true"
servers: ["555.55.55.55"]
[555.55.55.55] executing command
command finished
* executing `deploy:symlink'
* executing "rm -f /home/user/public_html/mysite/current && ln -s /home/user/public_html/mysite/releases/20100103015806 /home/user/public_html/mysite/current"
servers: ["555.55.55.55"]
[555.55.55.55] executing command
command finished
** transaction: commit
* executing `deploy:restart'
* executing "touch /home/user/public_html/mysite/current/tmp/restart.txt"
servers: ["555.55.55.55"]
[555.55.55.55] executing command
command finished
triggering after callbacks for `deploy:restart'
* executing `deploy:cleanup'
* executing "ls -x /home/user/public_html/mysite/releases"
servers: ["555.55.55.55"]
[555.55.55.55] executing command
command finished
** keeping 5 of 9 deployed releases
* executing "rm -rf /home/user/public_html/mysite/releases/20100103015806 /home/user/public_html/mysite/releases/20100103000220 /home/user/public_html/mysite/releases/20100103000202 /home/user/public_html/mysite/releases/20100102234212"
servers: ["555.55.55.55"]
[555.55.55.55] executing command
command finished
triggering after callbacks for `deploy'
* executing `symlink:image_symlink'
* executing "ln -nfs /home/user/public_html/mysite/shared/content_images /home/user/public_html/mysite/current/public/content_images"
servers: ["555.55.55.55"]
[555.55.55.55] executing command
*** [err :: 555.55.55.55] ln: creating symbolic link `/home/user/public_html/mysite/current/public/content_images': No such file or directory
command finished
failed: "sh -c 'ln -nfs /home/user/public_html/mysite/shared/content_images /home/user/public_html/mysite/current/public/content_images'" on 555.55.55.55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.