Сontinuous Integration - step to continuous deployment

897 views

Published on

continuous Integration

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
897
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Сontinuous Integration - step to continuous deployment

  1. 1. Continuous integration –step to Continuous Deploy Igor Rodionov Drupal expert rodionov.ig@gmail.com
  2. 2. Rodionov IgorSponsors Gold sponsor OrganizationCooking Drupal ~ 5 years Silver sponsor Silver sponsor ~ 14 projects ~ 60 patches Bronze sponsor Bronze sponsor ~16 approved
  3. 3. Drupal based project
  4. 4. Drupal based project
  5. 5. Drupal based project
  6. 6. Why?
  7. 7. Club of anonymous drupalers
  8. 8. Club of anonymous drupalers
  9. 9. Club of anonymous drupalersTake control over your project!
  10. 10. Continuous integration• Build• Inspection• Test• Deploy / Artifact
  11. 11. Continuous integration• Get rid of routine• Regression testing• Fast Feedback• Confidence in the project• Frequent release
  12. 12. Continuous integration
  13. 13. Deploy
  14. 14. Deploy Code RunSVN Bash ManualGIT Bash SSHCVS VCS HooksMercurial CronFTP CapistranoSFTP Phingistrano
  15. 15. Inspection
  16. 16. Inspection – Copy - Paste PHPCPD pear install phpunit/phpcpd
  17. 17. Inspection - Mess phplinticosaedro.it/phplint
  18. 18. Inspection - Mess PHPMD phpmd.org______________________________ Code Size Rules Design Rules Naming RulesUnused Code Rules
  19. 19. Inspection – Code Style Code Sniffer pear install PHP_CodeSniffer Drupal Code Sniffer drupal.org/project/drupalcs
  20. 20. Test
  21. 21. TestSelenium + Unit testing framework+ Functional tests- Unit tests+ Java Script support- Access Drupal API- Atomicity- Fragile tests- Multithreading- Performance
  22. 22. TestSimpletest/Simpletest clone+ Functional tests+ Unit tests- Java Script support+ Access Drupal API+ Atomicity+ Fragile tests+ Multithreading+ Performance
  23. 23. TestSimpletest/Simpletest clone/Selenium+ Functional tests+ Unit tests+ Java Script support+ Access Drupal API+ Atomicity+ Fragile tests+ Multithreading+ Performance
  24. 24. Build
  25. 25. Build
  26. 26. Build • Contribute • Custom • Forked
  27. 27. Build • Contribute • Custom • Forked Patches
  28. 28. Build Drush makeprojects[admin_menu][version] = "3.0-rc1"projects[admin_menu][subdir] = "contrib/dev"projects[admin_menu][patch][] = "patches/admin_menu_font.patch"
  29. 29. Build• Drush make• Corporate repository modules• Fork core & modules• Contribe your patches
  30. 30. Build Do not store
  31. 31. Build Modules Drush migrate Features Objects Ctools default hooks StrongarmConfigurations Ctools Features Uuid Content Uuid features Features
  32. 32. Build - phing • $ phing make • $ phing install • $ phing update • $ phing test • $ phing inspect • $ phing create • $ phing phpcs etc ...
  33. 33. Summing up• Control over the project• Reduced the time of release• Reduced the risks• The accumulation of "technical expertise“• Flexible integration of third-party code• 75% of developers became happy
  34. 34. Thank you for your attention Questions? Igor Rodionov Drupal expert rodionov.ig@gmail.com
  35. 35. Rodionov IgorSponsors Gold sponsor OrganizationCooking Drupal ~ 5 years Silver sponsor Silver sponsor ~ 14 projects ~ 60 patches Bronze sponsor Bronze sponsor ~16 approved

×