This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zblut@zblut-benchmark smart_api (ey_appcloud) % ey deploy -a smart_api -e testdb -r ey_appcloud | |
Connecting to the server... | |
Beginning deploy for 'smart_api' in 'testdb' on server... | |
~> Deploying revision 8bbe781... Debugging why deploy is now failing and loosing current symlink. | |
~> Loading deployment task overrides from /data/smart_api/shared/cached-copy/config/eydeploy.rb | |
~> Pushing code to all servers | |
rsync: failed to set times on "/data/smart_api/shared/cached-copy/tmp": Operation not permitted (1) | |
rsync: recv_generator: mkdir "/data/smart_api/shared/cached-copy/tmp/cache" failed: Permission denied (13) | |
*** Skipping any contents from this failed directory *** | |
rsync: recv_generator: mkdir "/data/smart_api/shared/cached-copy/tmp/sessions" failed: Permission denied (13) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get the apps | |
#ey environments --all | grep -E "^\w" | |
# get the environments | |
#ey environments --all | grep -E "^\s+\w" | awk '{print $1}' | |
_ey_does_ssh_list_need_generating () { | |
if [ ! -f ~/.ey_ssh_lists ]; then return 0; | |
else | |
yesterday=$(date +%s -d yesterday) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'yaml' | |
require 'benchmark' | |
require 'rubygems' | |
require 'rufus/tokyo' | |
$cab_file = "cab_#{Process.pid}.tch" | |
pcount = (ARGV[0] || 2).to_i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'capistrano/recipes/deploy/strategy/remote' | |
module Capistrano | |
module Deploy | |
module Strategy | |
# Implements the deployment strategy that keeps a checkout of | |
# the source code on each remote server. Each deploy simply updates the | |
# checkout | |
class GitSync < Remote |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$:.unshift('~/rufus/rufus-tokyo/lib') | |
require 'benchmark' | |
require 'rubygems' | |
require 'faker' | |
require 'date' | |
# | |
# the data | |
# |
NewerOlder