Major overhauling and refactoring of Magallanes Command and Tasks modulairty and workflow.

ADVICE: there is no Backwards Compatibility with custom tasks, those
using the _config instance will be broken or those using the
getEnvironmentName().
This commit is contained in:
Andrés Montañez
2012-09-21 00:23:07 -03:00
parent 05b102b273
commit 811c83e13a
29 changed files with 803 additions and 639 deletions
@@ -2,11 +2,14 @@
deployment:
user: root
from: ./
to: /var/www/vhosts/example.com/staging
#hosts: /tmp/current-staging-hosts.txt
to: /var/www/
releases:
enabled: true
max: 5
symlink: current
directory: releases
hosts:
- s01.example.com:22
- s02.example.com
- localhost
tasks:
pre-deploy:
- scm/update
@@ -14,4 +17,5 @@ tasks:
- privileges
- sampleTask
- sampleTaskRollbackAware
#post-deploy:
#post-release
#post-deploy: