Presentation for DevOps Toronto Meetup -http://www.meetup.com/DevOpsTO/events/143042182/
Discussion on deploying with Artifacts and more specifically Debian packages and how we do it at EventMobi
16. How We Do It
1. Code Checked into Master branch
2. Jenkins picks up the change
3. Launches prod like environment through VMs
4. Compiles / Builds environment & app
5. Runs Full Test Suite
6. All green? Package the app into .deb
7. Version and tag it
8. Sign the package
9. Upload to own apt-get repo source on S3
10. Wait for Deploy Command (triggered by Chef)
17. How We Do It
• Packaging app into apt-get repo is a
single command
• Can be done by anyone, anywhere,
anytime
• Doesn’t have to be through build server
o Trust your people!
18. Why Deb?
• Single Artifact is source of truth of app
• Deb Packages are meant for this. Have
been around for decades, solved most if
not all issues re installations
• Handles OS level dependencies
• Handles versioning, upgrading, rollbacks
o Can even set up symlink deploys a la
Capistrano
• No dependency!
19. Common Q’s
• What dependencies go where?
• What if I’m not running Debian?
• Don’t know how to get started