by Kamalika Majumder (@kamalikam) on Sunday, 26 January 2014

+43
Vote on this proposal
Status: Confirmed & Scheduled
View session in schedule
Section
Full talk

Technical level
Intermediate

Objective

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

Description

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.

Requirements

Basic knowledge of linux, lxc and chef

Speaker bio

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.

Comments

  • 1
    [-] sandeep (@sss) 3 years ago

    @kamalika - will you cover writing chef so that I can automate setup on my personal laptop ? Or will it need to be used only in conjunction with lxc/docker,etc. ?

  • 1
    [-] Kamalika Majumder (@kamalikam) Proposer 3 years ago

    The talk will include an example of how the chef recipes and roles can be tested using test-kitchen, lxc/docker.But as far as how chef recipes are written etc is concerned that will not be covered in this talk much.

  • 1
    [-] sandeep (@sss) 3 years ago

    @kamalika - please consider doing this as a workshop. This is one of the more foundational topics that I have seen for this conference.

  • 1
    [-] Sreekandh Balakrishnan (@gnuyoga) 3 years ago

    Thanks for talking the call today. Summarizing our call.

    Test driven developmet for Infrastructure ( u heard it right not the code but infra). Showcase some customer issue.
    Code works in my machine and not in my server, we are solving this problem
    Production go live from 3 weeks to 1 week to multi deployment per week
    Overall testing time reduction went down by multifold. Build pipeline time cycle reduction.
    Prodcution live environment in less than 5 mins ? is a reality now
    Real client examples ? ( some screenshot of the build pipeline ).
    Demo ?

  • 1
    [-] Kamalika Majumder (@kamalikam) Proposer 3 years ago

    One small correction *Production like environment in less than 5 mins

Login with Twitter or Google to leave a comment