Testing Infrastructure Code using Test-kitchen, Docker and Chef-Zero
Submitted by Kamalika Majumder (@kamalikam) on Sunday, 26 January 2014
Testing the infrastructure code before it is used for deployments is very important for faster deployment cycles.This talk will help understanding how we can test devops code using Test-kitchen, Docker and Chef-Zero
With more and more use of automation for environment provision it has become very important that TDD is followed for Devops/Infrastructure code as it is followed application code.
The Session will describe how chef recipes,databags etc can be tested in local dev box environmnet before they are uploaded to chef server and used in deployments.
This session will aim towards using the combination of Test-kitchen gem with kitchen-docker plugin and chef-zero.
This will help understanding test driven development of devops code in an private environment without interrupting the working environment.
Basic knowledge of linux, lxc and chef
I am Senior Consultant working with Thoughtworks for 4+ years.I started working as a Sysadmin,moved to senior Network Admin role and currently working as a Devops and Infrastructure automation specialist.Have worked in various infrastructure automation in private and public cloud platforms and interested in private cloud , continuous integration and deployment and security.