How we have created a build pipeline for continous delivery at Recorded Future. This includes also test of Chef cookbooks and configuration.
Presentation at
Config Management Camp 2014
17. Our system
●
●
●
●
●
A number of major infrastructure
components – ElasticSearch,
RabbitMQ etc
About 45 different processes
Development in Java, Python, Scala
and Ruby
External API and web servers
Developed by 5 different teams in
Sweden, US and Ukraine
18. Subversion
For good and bad
All code is code
Keep the code in the same repository
Configurations also in subversion
Treat all code in the same way, it doesn’t matter if it’s application
code, infra code, test code or whatever
21. Feature toggling to our help
●
No branching
●
One trunk
●
Took some time train developers
●
●
Now we try to train infra coders as well – Feature
toggling in Chef
Read more by Jez Humble
http://continuousdelivery.com/2011/07/on-dvcs-contin
uous-integration-and-feature-branches/
32. Why environment cookbook
●
●
●
●
We can version handle it
We are sure that the test environment will get the
same settings as production environment
On premise installation use chef-solo
When we upload the cookbooks the environment
settings will be uploaded as well
34. Masterflow
●
Only the build-flow plugin, describes the build
●
Triggered by subversion polls
●
Co-ordinate the sub build processes
●
Only one at a time running
45. Logstash
●
Collect all log from the fast track run
●
Used for problem solving
●
Easy to access with a link from Bygge
●
We also use it in production
46. Sensu monitoring
●
Almost same monitoring as in production of each fast
truck run
●
Easy to access monitoring dashboard and see errors
●
Will fail builds when we have checks that fails