Been testing deployment with you libs and it seemed to work with a small project of about 25M source code and assets, (expanded size), which compressed to about 2.4M .tar.gz
When trying to deploy another, medium sized project, it hangs forever in the tar.gz expansion step. This second project has 154M of source and assets (expanded size), and compresses to a .tar.gz of about 15M.
Below is the output I get when enabling debugging, IPs and other sensitive info have been modified.
$ rex -E testenviron fooproject:deploy --target=testserver
[2012-07-06 15:39:38] DEBUG - Command Line Parameters
[2012-07-06 15:39:38] DEBUG - d = 1
[2012-07-06 15:39:38] DEBUG - E = testenviron
[2012-07-06 15:39:38] DEBUG - Rexfile exists
[2012-07-06 15:39:38] DEBUG - Checking Rexfile Syntax...
[2012-07-06 15:39:38] DEBUG - Creating lock-file (Rexfile.lock)
[2012-07-06 15:39:38] DEBUG - Including/Parsing Rexfile
[2012-07-06 15:39:38] DEBUG - Registering main::deploy
[2012-07-06 15:39:38] DEBUG - Registering main::get_live_version
[2012-07-06 15:39:38] DEBUG - Registering main::get_deploy_directory_for
[2012-07-06 15:39:38] DEBUG - Registering main::deploy_to
[2012-07-06 15:39:38] DEBUG - Registering main::generate_deploy_directory
[2012-07-06 15:39:38] DEBUG - Registering main::document_root
[2012-07-06 15:39:38] DEBUG - Registering main::list_versions
[2012-07-06 15:39:38] DEBUG - Registering main::switch_to_version
[2012-07-06 15:39:38] DEBUG - Registering task: fooproject::changeto
[2012-07-06 15:39:38] DEBUG - Creating task: fooproject:changeto
[2012-07-06 15:39:38] DEBUG - Creating task: fooproject:build
[2012-07-06 15:39:38] DEBUG - Creating task: fooproject:deploy
[2012-07-06 15:39:38] DEBUG - using group: deployment_server -> 1.2.3.4
[2012-07-06 15:39:38] DEBUG - server: 1.2.3.4
[2012-07-06 15:39:38] DEBUG - Initializing Logger from parameters found in Rexfile
[2012-07-06 15:39:38] DEBUG - Running task: fooproject:deploy
[2012-07-06 15:39:38] DEBUG - Using user: fooproject
[2012-07-06 15:39:38] DEBUG - Using password: ***********
[2012-07-06 15:39:38] INFO - Connecting to 1.2.3.4:22 (fooproject)
[2012-07-06 15:39:38] DEBUG - Current Error-Code: 0
[2012-07-06 15:39:38] INFO - Connected to 1.2.3.4, trying to authenticate.
[2012-07-06 15:39:38] DEBUG - Using password authentication.
[2012-07-06 15:39:39] INFO - Successfull authenticated.
[2012-07-06 15:39:39] DEBUG - Executing fooproject:deploy
[2012-07-06 15:39:39] DEBUG - Checking if /home/foobar/test-deployment/deploymentdir is writable
[2012-07-06 15:39:39] DEBUG - Executing: perl -le 'if(-w "/home/foobar/test-deployment/deploymentdir") { exit 0; } exit 1'
[2012-07-06 15:39:39] DEBUG -
[2012-07-06 15:39:39] DEBUG - Checking if /home/foobar/test-deployment is writable
[2012-07-06 15:39:39] DEBUG - Executing: perl -le 'if(-w "/home/foobar/test-deployment") { exit 0; } exit 1'
[2012-07-06 15:39:39] DEBUG -
[2012-07-06 15:39:39] DEBUG - deploy_dir: /home/foobar/test-deployment/deploymentdir/1.0.0
[2012-07-06 15:39:39] DEBUG - Reading link of /home/foobar/test-deployment/webroot
[2012-07-06 15:39:40] DEBUG - Reading link of /home/foobar/test-deployment/webroot
[2012-07-06 15:39:40] DEBUG - Uploadling fooproject-testrex-1.0.0.tar.gz to /tmp/1jubhyde.tar.gz
[2012-07-06 15:39:41] DEBUG - Creating directory /home/foobar/test-deployment/deploymentdir/1.0.0
[2012-07-06 15:39:41] DEBUG - Executing: cd /home/foobar/test-deployment/deploymentdir/1.0.0; tar xzf /tmp/1jubhyde.tar.gz
Been testing deployment with you libs and it seemed to work with a small project of about 25M source code and assets, (expanded size), which compressed to about 2.4M .tar.gz
When trying to deploy another, medium sized project, it hangs forever in the tar.gz expansion step. This second project has 154M of source and assets (expanded size), and compresses to a .tar.gz of about 15M.
Below is the output I get when enabling debugging, IPs and other sensitive info have been modified.
$ rex -E testenviron fooproject:deploy --target=testserver
[2012-07-06 15:39:38] DEBUG - Command Line Parameters
[2012-07-06 15:39:38] DEBUG - d = 1
[2012-07-06 15:39:38] DEBUG - E = testenviron
[2012-07-06 15:39:38] DEBUG - Rexfile exists
[2012-07-06 15:39:38] DEBUG - Checking Rexfile Syntax...
[2012-07-06 15:39:38] DEBUG - Creating lock-file (Rexfile.lock)
[2012-07-06 15:39:38] DEBUG - Including/Parsing Rexfile
[2012-07-06 15:39:38] DEBUG - Registering main::deploy
[2012-07-06 15:39:38] DEBUG - Registering main::get_live_version
[2012-07-06 15:39:38] DEBUG - Registering main::get_deploy_directory_for
[2012-07-06 15:39:38] DEBUG - Registering main::deploy_to
[2012-07-06 15:39:38] DEBUG - Registering main::generate_deploy_directory
[2012-07-06 15:39:38] DEBUG - Registering main::document_root
[2012-07-06 15:39:38] DEBUG - Registering main::list_versions
[2012-07-06 15:39:38] DEBUG - Registering main::switch_to_version
[2012-07-06 15:39:38] DEBUG - Registering task: fooproject::changeto
[2012-07-06 15:39:38] DEBUG - Creating task: fooproject:changeto
[2012-07-06 15:39:38] DEBUG - Creating task: fooproject:build
[2012-07-06 15:39:38] DEBUG - Creating task: fooproject:deploy
[2012-07-06 15:39:38] DEBUG - using group: deployment_server -> 1.2.3.4
[2012-07-06 15:39:38] DEBUG - server: 1.2.3.4
[2012-07-06 15:39:38] DEBUG - Initializing Logger from parameters found in Rexfile
[2012-07-06 15:39:38] DEBUG - Running task: fooproject:deploy
[2012-07-06 15:39:38] DEBUG - Using user: fooproject
[2012-07-06 15:39:38] DEBUG - Using password: ***********
[2012-07-06 15:39:38] INFO - Connecting to 1.2.3.4:22 (fooproject)
[2012-07-06 15:39:38] DEBUG - Current Error-Code: 0
[2012-07-06 15:39:38] INFO - Connected to 1.2.3.4, trying to authenticate.
[2012-07-06 15:39:38] DEBUG - Using password authentication.
[2012-07-06 15:39:39] INFO - Successfull authenticated.
[2012-07-06 15:39:39] DEBUG - Executing fooproject:deploy
[2012-07-06 15:39:39] DEBUG - Checking if /home/foobar/test-deployment/deploymentdir is writable
[2012-07-06 15:39:39] DEBUG - Executing: perl -le 'if(-w "/home/foobar/test-deployment/deploymentdir") { exit 0; } exit 1'
[2012-07-06 15:39:39] DEBUG -
[2012-07-06 15:39:39] DEBUG - Checking if /home/foobar/test-deployment is writable
[2012-07-06 15:39:39] DEBUG - Executing: perl -le 'if(-w "/home/foobar/test-deployment") { exit 0; } exit 1'
[2012-07-06 15:39:39] DEBUG -
[2012-07-06 15:39:39] DEBUG - deploy_dir: /home/foobar/test-deployment/deploymentdir/1.0.0
[2012-07-06 15:39:39] DEBUG - Reading link of /home/foobar/test-deployment/webroot
[2012-07-06 15:39:40] DEBUG - Reading link of /home/foobar/test-deployment/webroot
[2012-07-06 15:39:40] DEBUG - Uploadling fooproject-testrex-1.0.0.tar.gz to /tmp/1jubhyde.tar.gz
[2012-07-06 15:39:41] DEBUG - Creating directory /home/foobar/test-deployment/deploymentdir/1.0.0
[2012-07-06 15:39:41] DEBUG - Executing: cd /home/foobar/test-deployment/deploymentdir/1.0.0; tar xzf /tmp/1jubhyde.tar.gz