mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01:00 
			
		
		
		
	Tests
This commit is contained in:
		
							parent
							
								
									c630b31bf9
								
							
						
					
					
						commit
						94234cf6d8
					
				@ -2,11 +2,6 @@
 | 
				
			|||||||
deployment:
 | 
					deployment:
 | 
				
			||||||
  user: root
 | 
					  user: root
 | 
				
			||||||
  from: ./
 | 
					  from: ./
 | 
				
			||||||
#  source:
 | 
					 | 
				
			||||||
#    type: git
 | 
					 | 
				
			||||||
#    repository: git://github.com/andres-montanez/Magallanes.git
 | 
					 | 
				
			||||||
#    from: master
 | 
					 | 
				
			||||||
#    temporal: /tmp/myAppClone
 | 
					 | 
				
			||||||
  to: /var/www/vhosts/example.com/www
 | 
					  to: /var/www/vhosts/example.com/www
 | 
				
			||||||
  excludes:
 | 
					  excludes:
 | 
				
			||||||
    - application/data/cache/twig/*
 | 
					    - application/data/cache/twig/*
 | 
				
			||||||
@ -18,15 +13,6 @@ releases:
 | 
				
			|||||||
hosts:
 | 
					hosts:
 | 
				
			||||||
  - s01.example.com
 | 
					  - s01.example.com
 | 
				
			||||||
  - s02.example.com
 | 
					  - s02.example.com
 | 
				
			||||||
#  s02.example.com:
 | 
					 | 
				
			||||||
#    deployment:
 | 
					 | 
				
			||||||
#      user: toor
 | 
					 | 
				
			||||||
#      to: /home/web/public
 | 
					 | 
				
			||||||
#    releases:
 | 
					 | 
				
			||||||
#      max: 10
 | 
					 | 
				
			||||||
#    tasks:
 | 
					 | 
				
			||||||
#      on-deploy:
 | 
					 | 
				
			||||||
#        - privileges
 | 
					 | 
				
			||||||
tasks:
 | 
					tasks:
 | 
				
			||||||
  pre-deploy:
 | 
					  pre-deploy:
 | 
				
			||||||
    - scm/update
 | 
					    - scm/update
 | 
				
			||||||
@ -35,4 +21,3 @@ tasks:
 | 
				
			|||||||
    - privileges
 | 
					    - privileges
 | 
				
			||||||
    - sampleTask
 | 
					    - sampleTask
 | 
				
			||||||
    - sampleTaskRollbackAware
 | 
					    - sampleTaskRollbackAware
 | 
				
			||||||
  #post-deploy:
 | 
					 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										38
									
								
								docs/example-config/.mage/config/environment/production.yml_
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								docs/example-config/.mage/config/environment/production.yml_
									
									
									
									
									
										Normal file
									
								
							@ -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:
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user