Chef and InSpec Builds with Jenkins - ChefConf 2018

preview_player
Показать описание
Annie Hedgpeth - Cloud Automation Engineer, 10th Magnitude
Nick Hudacin - Senior Systems Engineer, Relativity

We know that the right thing to do during cookbook development is to use cookstyle and foodcritic for linting, InSpec for integration tests, and Test Kitchen to test cookbook data across any combination of platforms and test suites. But how do we enforce this?

Part of the answer is to make the right thing to do the easy thing to do. The other part of the answer is to make the right thing to do the necessary thing.

This talk is meant to be an introduction to creating a continuous integration strategy for your cookbook development by using a cookbook build in Jenkins and integrating it with Git. Sprinkled throughout this talk will also be tips and tricks to using this simple build as a culture-change agent on your team and within your organization, slowly turning people's disdain for testing into a love affair with it.
Рекомендации по теме
Комментарии
Автор

Hi, it is possible to test the Jenkins pipeline library locally, although it is quite troublesome, in one of the JenkinsConf talk there is someone that tested it locally using docker containers and mounting the Jenkins library files to Jenkins to simulate the pipeline

Kyrogue
visit shbcf.ru