Date post: | 13-Apr-2017 |
Category: |
Technology |
Upload: | aroj-george |
View: | 23 times |
Download: | 0 times |
Build Pipeline• Pipeline per component• Build
– Automated build scripts– Gradle, Simple Build Tool (SBT) etc…
• Test– Automated tests
• Unit, Integration – Junit, Rspec, ScalaTest• Functional – Cucumber + Webdriver
– Test results artifacts• Create artifacts
– Packaged as RPMs• Traceability through pipeline labels
Demo App
• 3 Tiers• App• Service 1• Service 2• DB• Siteconfigs – siteconfig.git– For site config changes without requiring app
deployment
Deployments
• Automated One click deployments triggered from Go• Chef for deployment• Many times a day• Deployment pipeline per environment• Pipeline dependencies help promote binaries from one
environment to another
Deploment Pipeline Stages
• Deploy• Upgrade database
– Apply schema changes– Load data
• Post deploy Smoke Test• Manual Signoff Gate Stage
References• http://www.thoughtworks.com/products/webinars/end-
end-automated-build-and-deployment-pipeline-maven-chef-and-go
• http://martinfowler.com/bliki/DeploymentPipeline.html
• https://learnchef.opscode.com/
• www.thoughtworks.com/products/go-continuous-delivery/