From 94234cf6d8d526b452f050353702bdf599554b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Monta=C3=B1ez?= Date: Sat, 11 Oct 2014 17:11:34 -0200 Subject: [PATCH] Tests --- .../environment/{ioncube.yml => ioncube.yml_} | 0 .../.mage/config/environment/production.yml | 15 -------- .../.mage/config/environment/production.yml_ | 38 +++++++++++++++++++ 3 files changed, 38 insertions(+), 15 deletions(-) rename docs/example-config/.mage/config/environment/{ioncube.yml => ioncube.yml_} (100%) create mode 100644 docs/example-config/.mage/config/environment/production.yml_ diff --git a/docs/example-config/.mage/config/environment/ioncube.yml b/docs/example-config/.mage/config/environment/ioncube.yml_ similarity index 100% rename from docs/example-config/.mage/config/environment/ioncube.yml rename to docs/example-config/.mage/config/environment/ioncube.yml_ diff --git a/docs/example-config/.mage/config/environment/production.yml b/docs/example-config/.mage/config/environment/production.yml index 538e517..5122d7d 100644 --- a/docs/example-config/.mage/config/environment/production.yml +++ b/docs/example-config/.mage/config/environment/production.yml @@ -2,11 +2,6 @@ deployment: user: root from: ./ -# source: -# type: git -# repository: git://github.com/andres-montanez/Magallanes.git -# from: master -# temporal: /tmp/myAppClone to: /var/www/vhosts/example.com/www excludes: - application/data/cache/twig/* @@ -18,15 +13,6 @@ releases: hosts: - s01.example.com - s02.example.com -# s02.example.com: -# deployment: -# user: toor -# to: /home/web/public -# releases: -# max: 10 -# tasks: -# on-deploy: -# - privileges tasks: pre-deploy: - scm/update @@ -35,4 +21,3 @@ tasks: - privileges - sampleTask - sampleTaskRollbackAware - #post-deploy: diff --git a/docs/example-config/.mage/config/environment/production.yml_ b/docs/example-config/.mage/config/environment/production.yml_ new file mode 100644 index 0000000..538e517 --- /dev/null +++ b/docs/example-config/.mage/config/environment/production.yml_ @@ -0,0 +1,38 @@ +#production +deployment: + user: root + from: ./ +# source: +# type: git +# repository: git://github.com/andres-montanez/Magallanes.git +# from: master +# temporal: /tmp/myAppClone + to: /var/www/vhosts/example.com/www + excludes: + - application/data/cache/twig/* +releases: + enabled: true + max: 5 + symlink: current + directory: releases +hosts: + - s01.example.com + - s02.example.com +# s02.example.com: +# deployment: +# user: toor +# to: /home/web/public +# releases: +# max: 10 +# tasks: +# on-deploy: +# - privileges +tasks: + pre-deploy: + - scm/update + on-deploy: + - symfony2/cache-warmup: { env: prod } + - privileges + - sampleTask + - sampleTaskRollbackAware + #post-deploy: