deploying using deployer
Post on 16-Apr-2017
169 Views
Preview:
TRANSCRIPT
AmsterdamPHP 17-12-2015
Deploying using Deployer
Jeroen v.d. Gulik
About me
❖ CTO / Co-Founder Isset (http://isset.nl)
❖ Señor Developer
❖ Builder of Artificial Stupidity
❖ @n0x13
❖ Likes Cats … a lot
Who uses a deployment tool?
Why use a deployment tool?
❖ Manual isn’t practical
❖ Lots of tasks
❖ Keep history of deployment script
❖ Automation
❖ Security
❖ Lazy
What options do we have?
❖ Capistrano (http://capistranorb.com/)
❖ Fabric (http://www.fabfile.org/)
❖ Phing (https://www.phing.info/)
❖ Rocketeer (http://rocketeer.autopergamene.eu/)
❖ Ansible (http://www.ansible.com/)
Why Deployer ?❖ Fast
❖ Modular
❖ Clean Code
❖ Rollbacks
❖ Atomic deploys
❖ Parallel tasks
❖ Consistency
Why Deployer ?
❖ Simple
❖ Easy
❖ Plain Old PHP
❖ Composer installable
Requirements
❖ Linux Server
❖ Git
❖ PHP >= 5.4
Deployer Globally
Deployer Locally
Easy deploy
Easy Rollback
Easy Tasks
Run Tasks separately
List all Tasks
Run onlyOn …
Reuse Tasks with Recipes
Frameworks supported❖ CodeIgniter (yeah…)
❖ Drupal 7
❖ FuelPHP
❖ Laravel
❖ Magento
❖ Symfony
❖ WordPress
❖ Yii
❖ Yii2
❖ Zend
Symfony Recipe
Symfony 3
Functions
Serverlist externally
YAML
Defaults
Demo
Perfect?
❖ Only supports git
❖ Global namespace (Hamcrest)
top related