2011-11-23 04:17:06 +01:00
|
|
|
#production
|
2011-11-28 03:41:53 +01:00
|
|
|
deployment:
|
|
|
|
user: root
|
2013-07-08 00:14:32 +02:00
|
|
|
from: ./
|
|
|
|
# source:
|
|
|
|
# type: git
|
2014-08-07 17:57:53 +02:00
|
|
|
# repository: git://github.com/andres-montanez/Magallanes.git
|
|
|
|
# from: master
|
2013-07-08 00:14:32 +02:00
|
|
|
# temporal: /tmp/myAppClone
|
2011-11-28 03:41:53 +01:00
|
|
|
to: /var/www/vhosts/example.com/www
|
|
|
|
excludes:
|
|
|
|
- application/data/cache/twig/*
|
2011-11-27 01:51:23 +01:00
|
|
|
releases:
|
2011-11-27 15:14:40 +01:00
|
|
|
enabled: true
|
2012-03-31 04:51:17 +02:00
|
|
|
max: 5
|
2011-11-27 15:14:40 +01:00
|
|
|
symlink: current
|
|
|
|
directory: releases
|
2011-11-23 04:17:06 +01:00
|
|
|
hosts:
|
2014-10-11 18:30:29 +02:00
|
|
|
- s01.example.com
|
2013-07-08 00:14:32 +02:00
|
|
|
s02.example.com:
|
|
|
|
deployment:
|
|
|
|
user: toor
|
|
|
|
to: /home/web/public
|
|
|
|
releases:
|
|
|
|
max: 10
|
|
|
|
tasks:
|
|
|
|
on-deploy:
|
|
|
|
- privileges
|
2011-11-24 01:25:20 +01:00
|
|
|
tasks:
|
2011-11-28 03:41:53 +01:00
|
|
|
pre-deploy:
|
|
|
|
- scm/update
|
|
|
|
on-deploy:
|
2014-10-11 18:30:29 +02:00
|
|
|
- symfony2/cache-warmup: { env: prod }
|
2011-11-28 03:41:53 +01:00
|
|
|
- privileges
|
2012-01-04 02:25:42 +01:00
|
|
|
- sampleTask
|
|
|
|
- sampleTaskRollbackAware
|
2014-10-11 19:07:36 +02:00
|
|
|
#post-deploy:
|