You have a robust set of tests and you're using a continuous integration server, so you feel great about your project. You're ready for the next step - continuous delivery. Automatically deploying your changes to production can be a scary prospect for many teams, but in this talk we'll look at some real world examples in high stakes situations where continuous delivery allows teams to move faster and have greater confidence in their code. We'll walk through a sample CI/CD setup used on a real-world PHP-based ecommerce site and show how you can use this setup for your projects.
76. Rocketeer Folder Structure
• Rocketeer deploys to a new folder under
releases
• Updates symlinks to shared folder
• Then updates current symlink to new release
77. Rocketeer Prep
• Make sure SSH keys are setup correctly
• Rocketeer will connect to your SSH repo via your
server - before running deploy for the first time,
test your SSH setup
83. Feature Toggles
• First step of implementing a new feature - wrap it
in a feature toggle
• Code only executes if feature is enabled
• Enables deploying new code immediately
84. Canaries
• Deploy to a small portion of your site’s traffic
• Compare error rates between new & old version
• If error rate is same or lower, deploy globally
85. Don’t get distracted by these advanced concepts -
start by moving to basic continuous delivery first.
86. Keep In Touch!
• joind.in/13900
• @JoshuaSWarren
• JoshuaWarren.com