Skip to content

Instantly share code, notes, and snippets.

@gogojimmy
Created August 14, 2012 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gogojimmy/3349971 to your computer and use it in GitHub Desktop.
Save gogojimmy/3349971 to your computer and use it in GitHub Desktop.
Jimmy at gogojimmy in ~/Projects/Personal/babysworld on develop?
$ cap deploy:cold
triggering start callbacks for `deploy:cold'
* 08:05:28 == Currently executing `multistage:ensure'
*** Defaulting to `staging'
* 08:05:28 == Currently executing `staging'
* 08:05:28 == Currently executing `deploy:cold'
* 08:05:28 == Currently executing `deploy:update'
** transaction: start
* 08:05:28 == Currently executing `deploy:update_code'
executing locally: "git ls-remote git@github.com:gogojimmy/babysworld.git develop"
command finished in 6238ms
* executing "git clone git@github.com:gogojimmy/babysworld.git /home/staging/babysworld/releases/20120814000534 && cd /home/staging/babysworld/releases/20120814000534 && git checkout -b deploy 943b21c290bae91b31c9098da8a0d58ae2618308 && (echo 943b21c290bae91b31c9098da8a0d58ae2618308 > /home/staging/babysworld/releases/20120814000534/REVISION)"
servers: ["staging.babysworld.tw"]
[staging.babysworld.tw] executing command
** [staging.babysworld.tw :: out] Cloning into /home/staging/babysworld/releases/20120814000534...
** [staging.babysworld.tw :: out] remote: Counting objects: 107, done.
remote: Compressing objects: 34% (28/81)
remote: Compressing objects: 100% (81/81), done.
** remote: Total 107 (delta 8), reused 107 (delta 8)
** [staging.babysworld.tw :: out] Receiving objects: 0% (1/107)
** [staging.babysworld.tw :: out] Receiving objects: 1% (2/107)
** [staging.babysworld.tw :: out] Receiving objects: 2% (3/107)
** [staging.babysworld.tw :: out] Receiving objects: 3% (4/107)
** [staging.babysworld.tw :: out] Receiving objects: 4% (5/107)
** [staging.babysworld.tw :: out] Receiving objects: 5% (6/107)
** [staging.babysworld.tw :: out] Receiving objects: 6% (7/107)
** [staging.babysworld.tw :: out] Receiving objects: 7% (8/107)
** [staging.babysworld.tw :: out] Receiving objects: 8% (9/107)
** [staging.babysworld.tw :: out] Receiving objects: 9% (10/107)
** [staging.babysworld.tw :: out] Receiving objects: 10% (11/107)
** [staging.babysworld.tw :: out] Receiving objects: 11% (12/107)
Receiving objects: 13% (14/107)t] Receiving objects: 12% (13/107)
** [staging.babysworld.tw :: out] Receiving objects: 14% (15/107)
** [staging.babysworld.tw :: out] Receiving objects: 15% (17/107)
** [staging.babysworld.tw :: out] Receiving objects: 16% (18/107)
** [staging.babysworld.tw :: out] Receiving objects: 17% (19/107)
** [staging.babysworld.tw :: out] Receiving objects: 18% (20/107)
** [staging.babysworld.tw :: out] Receiving objects: 19% (21/107)
** [staging.babysworld.tw :: out] Receiving objects: 20% (22/107)
** [staging.babysworld.tw :: out] Receiving objects: 21% (23/107)
** [staging.babysworld.tw :: out] Receiving objects: 22% (24/107)
** [staging.babysworld.tw :: out] Receiving objects: 23% (25/107)
** [staging.babysworld.tw :: out] Receiving objects: 24% (26/107)
Receiving objects: 26% (28/107)t] Receiving objects: 25% (27/107)
Receiving objects: 28% (30/107)t] Receiving objects: 27% (29/107)
Receiving objects: 30% (33/107)t] Receiving objects: 29% (32/107)
** [staging.babysworld.tw :: out] Receiving objects: 31% (34/107)
** [staging.babysworld.tw :: out] Receiving objects: 32% (35/107)
** [staging.babysworld.tw :: out] Receiving objects: 33% (36/107)
** [staging.babysworld.tw :: out] Receiving objects: 34% (37/107)
** [staging.babysworld.tw :: out] Receiving objects: 35% (38/107)
Receiving objects: 37% (40/107)t] Receiving objects: 36% (39/107)
** [staging.babysworld.tw :: out] Receiving objects: 38% (41/107)
** [staging.babysworld.tw :: out] Receiving objects: 39% (42/107)
** [staging.babysworld.tw :: out] Receiving objects: 40% (43/107)
** [staging.babysworld.tw :: out] Receiving objects: 41% (44/107)
** [staging.babysworld.tw :: out] Receiving objects: 42% (45/107)
** [staging.babysworld.tw :: out] Receiving objects: 43% (47/107)
** [staging.babysworld.tw :: out] Receiving objects: 44% (48/107)
Receiving objects: 46% (50/107)t] Receiving objects: 45% (49/107)
** [staging.babysworld.tw :: out] Receiving objects: 47% (51/107)
** [staging.babysworld.tw :: out] Receiving objects: 48% (52/107)
** [staging.babysworld.tw :: out] Receiving objects: 49% (53/107)
** [staging.babysworld.tw :: out] Receiving objects: 50% (54/107)
Receiving objects: 52% (56/107)t] Receiving objects: 51% (55/107)
** [staging.babysworld.tw :: out] Receiving objects: 53% (57/107)
** [staging.babysworld.tw :: out] Receiving objects: 54% (58/107)
** [staging.babysworld.tw :: out] Receiving objects: 55% (59/107)
** [staging.babysworld.tw :: out] Receiving objects: 56% (60/107)
** [staging.babysworld.tw :: out] Receiving objects: 57% (61/107)
** [staging.babysworld.tw :: out] Receiving objects: 58% (63/107)
** [staging.babysworld.tw :: out] Receiving objects: 59% (64/107)
Receiving objects: 61% (66/107)t] Receiving objects: 60% (65/107)
** [staging.babysworld.tw :: out] Receiving objects: 62% (67/107)
** [staging.babysworld.tw :: out] Receiving objects: 63% (68/107)
** [staging.babysworld.tw :: out] Receiving objects: 64% (69/107)
** [staging.babysworld.tw :: out] Receiving objects: 65% (70/107)
** [staging.babysworld.tw :: out] Receiving objects: 66% (71/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 67% (72/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 68% (73/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 69% (74/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 70% (75/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 71% (76/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 72% (78/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 73% (79/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 74% (80/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 75% (81/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 76% (82/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 77% (83/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 78% (84/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 79% (85/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 80% (86/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 81% (87/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 82% (88/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 83% (89/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 84% (90/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 85% (91/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 86% (93/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 87% (94/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 88% (95/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 89% (96/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 90% (97/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 91% (98/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 92% (99/107), 36.00 KiB | 54 KiB/s
Receiving objects: 94% (101/107), 36.00 KiB | 54 KiB/s93% (100/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 95% (102/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 96% (103/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 97% (104/107), 36.00 KiB | 54 KiB/s
Receiving objects: 99% (106/107), 36.00 KiB | 54 KiB/s98% (105/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 100% (107/107), 36.00 KiB | 54 KiB/s
** [staging.babysworld.tw :: out] Receiving objects: 100% (107/107), 45.79 KiB | 54 KiB/s, done.
** [staging.babysworld.tw :: out] Resolving deltas: 0% (0/8)
** [staging.babysworld.tw :: out] Resolving deltas: 25% (2/8)
** [staging.babysworld.tw :: out] Resolving deltas: 37% (3/8)
** [staging.babysworld.tw :: out] Resolving deltas: 50% (4/8)
** [staging.babysworld.tw :: out] Resolving deltas: 62% (5/8)
** [staging.babysworld.tw :: out] Resolving deltas: 75% (6/8)
Resolving deltas: 100% (8/8), done.Resolving deltas: 100% (8/8)
** [staging.babysworld.tw :: out]
** [staging.babysworld.tw :: out] Switched to a new branch 'deploy'
command finished in 5393ms
* 08:05:40 == Currently executing `deploy:finalize_update'
triggering before callbacks for `deploy:finalize_update'
* 08:05:40 == Currently executing `deploy:assets:symlink'
* executing "rm -rf /home/staging/babysworld/releases/20120814000534/public/assets &&\\\n mkdir -p /home/staging/babysworld/releases/20120814000534/public &&\\\n mkdir -p /home/staging/babysworld/shared/assets &&\\\n ln -s /home/staging/babysworld/shared/assets /home/staging/babysworld/releases/20120814000534/public/assets"
servers: ["staging.babysworld.tw"]
[staging.babysworld.tw] executing command
command finished in 1139ms
* 08:05:41 == Currently executing `bundle:install'
* executing "cd /home/staging/babysworld/releases/20120814000534 && bundle install --gemfile /home/staging/babysworld/releases/20120814000534/Gemfile --path /home/staging/babysworld/shared/bundle --deployment --quiet --without development test"
servers: ["staging.babysworld.tw"]
[staging.babysworld.tw] executing command
command finished in 3924ms
* executing "chmod -R g+w /home/staging/babysworld/releases/20120814000534"
servers: ["staging.babysworld.tw"]
[staging.babysworld.tw] executing command
command finished in 1088ms
* executing "rm -rf /home/staging/babysworld/releases/20120814000534/log /home/staging/babysworld/releases/20120814000534/public/system /home/staging/babysworld/releases/20120814000534/tmp/pids &&\\\n mkdir -p /home/staging/babysworld/releases/20120814000534/public &&\\\n mkdir -p /home/staging/babysworld/releases/20120814000534/tmp"
servers: ["staging.babysworld.tw"]
[staging.babysworld.tw] executing command
command finished in 1131ms
* executing "ln -s /home/staging/babysworld/shared/system /home/staging/babysworld/releases/20120814000534/public/system"
servers: ["staging.babysworld.tw"]
[staging.babysworld.tw] executing command
command finished in 1129ms
* executing "ln -s /home/staging/babysworld/shared/log /home/staging/babysworld/releases/20120814000534/log"
servers: ["staging.babysworld.tw"]
[staging.babysworld.tw] executing command
command finished in 1024ms
* executing "ln -s /home/staging/babysworld/shared/pids /home/staging/babysworld/releases/20120814000534/tmp/pids"
servers: ["staging.babysworld.tw"]
[staging.babysworld.tw] executing command
command finished in 1056ms
triggering after callbacks for `deploy:update_code'
* 08:05:51 == Currently executing `deploy:assets:precompile'
triggering before callbacks for `deploy:assets:precompile'
* 08:05:51 == Currently executing `deploy:custom_setup'
* executing "cp /home/staging/babysworld/shared/config/*.yml /home/staging/babysworld/releases/20120814000534/config/"
servers: ["staging.babysworld.tw"]
[staging.babysworld.tw] executing command
command finished in 1037ms
* executing "cat /home/staging/babysworld/current/REVISION"
servers: ["staging.babysworld.tw"]
[staging.babysworld.tw] executing command
command finished in 1180ms
*** [deploy:update_code] rolling back
* executing "rm -rf /home/staging/babysworld/releases/20120814000534; true"
servers: ["staging.babysworld.tw"]
[staging.babysworld.tw] executing command
command finished in 1250ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell 'ruby-1.9.3-p194' -c 'cat /home/staging/babysworld/current/REVISION'" on staging.babysworld.tw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment