Successfully reported this slideshow.

Automating Drupal Deployment

1,624 views

Published on

Drupal deployment, Git. Drush, and Features module.

Published in: Technology
  • Be the first to comment

Automating Drupal Deployment

  1. 1. Drupal Developers Day Microsoft Philippines6750 Ayala Avenue, Makati City 10-27-2012
  2. 2. Automating Drupal DeploymentVersion Control + Drush + Features Gerald Z. Villorente Kite Systems Ltd. | CNN Travel
  3. 3. Who am I* Opensource advocate for 4 years* Drupal user since 2010 (developer/themer)* System administrator* Developer at Kite Systems Ltd.
  4. 4. Deployment
  5. 5. Typical Environment
  6. 6. Deployment Mistakes
  7. 7. Manual Configuration
  8. 8. Production Dev ServerStaging Server Local Dev
  9. 9. Version Control“is any practice that tracks and provides control over changes to source code”– From Wikipedia
  10. 10. Internal Server Error 404 Not Found 409 ConflictOut of Resources Gateway TimeoutBad Request PDO Error 403 Forbidden Syntax Error Invalid Operand Types Access Denied
  11. 11. Version Control (Git, SVN, CVS)
  12. 12. How version control works?
  13. 13. Ok version control rocks, but how about theconfiguration changes that I need to deploy?
  14. 14. Features module – theanswer to your question! “The features module enables the capture and management of features in Drupal.”
  15. 15. Alright thats (Features)really awesome! But what if there is any other features of Drupal that Features doesnt support?
  16. 16. Easy boy! We still have an option. hook_update_N( )
  17. 17. Tools you need + SSH
  18. 18. Avoid repetitive task Use shell script!
  19. 19. Note: You can use CIserver and put all yourshell script to run every build
  20. 20. CI (Jenkins)
  21. 21. Remember!* Development plan
  22. 22. Remember!* Development plan* Test plan
  23. 23. Remember!* Development plan* Test plan* Documentation
  24. 24. Remember!Local
  25. 25. Remember!Local Dev
  26. 26. Remember!Local Dev Staging
  27. 27. Remember!Local Dev Staging Prod
  28. 28. AlwaysTest, test, test!
  29. 29. Questions?

×