How the Heck Do You Apply TDD to Infra as Code?
If youre coding your immutable infrastructure and have a CI/CD pipeline to deploy it using your configuration management tool of choice, how do you test it? How do you ensure that the new feature you …
Talk Title | How the Heck Do You Apply TDD to Infra as Code? |
Speakers | Daniel Pacrami (DevOps, SAP) |
Conference | Open Source Summit North America |
Conf Tag | |
Location | Vancouver, BC, Canada |
Date | Aug 27-31, 2018 |
URL | Talk Page |
Slides | Talk Slides |
Video | |
If you’re coding your immutable infrastructure and have a CI/CD pipeline to deploy it using your configuration management tool of choice, how do you test it? How do you ensure that the new feature you’re working on won’t break something in a different layer? How much testing do you need? Is it possible to do too much testing? How do you keep your deployment pipeline short?This talk tries to answer these questions by looking at a DevOps team’s journey in building a Platform-As-A-Service for developers. The specific technologies covered are Kubernetes, Openstack, Ansible, Testinfra and GitLab but the concepts can be applied generally.Applying TDD principles to Infra as Code is a new frontier. While working on the development of a PaaS over the last year, we weren’t able to find many resources covering the subject and had to solve a lot of these problems on our own. I hope to share some of the knowledge we’ve gained through the experience so that others can avoid running into the same issues and to encourage more discussion of the subject.