Giter Site home page Giter Site logo

dcallao / cookbook-pipeline Goto Github PK

View Code? Open in Web Editor NEW

This project forked from timusg/cookbook-pipeline

0.0 2.0 0.0 84 KB

chef cookbook to setup cookbook/application testing pipelines with docker, jenkins and optionally test kitchen

Ruby 76.87% HTML 23.13%

cookbook-pipeline's Introduction

cookbook-pipline cookbook

Install docker, jenkins and optionally test kitchen , berkshelf , foodcritic etc.. and setup up build/test pipelines for cookbook or any application.

Requirements

Change .kitchen.yml file of your cookbook to use kitchen-docker plugin, more information is available in the here and here

Usage

Use default recipe to set up docker, jenkins and create jobs baced on attributes.

quick test

use vagrant to test locally

issue command:

vagrant up

and browse to http://127.0.0.1:8080/ for access jenkins ui

Attributes

  • jobs

    • An array containing a Hash of cookbooks to be tested
    • Defaults to community cookbooks.
  • jobs[:name]

    • pipeline name
  • jobs[:build_steps]

    • build steps
  • jobs[:git_branch]

    • git repo path
  • git['user-name']

    • git user name , required in git plugin of jenkins
  • git['email']

    • git email , required in git plugin of jenkins
  • install_gems?

    • set this true to install gem defined in gems variable
    • default true
  • install_gems?

    • specify gems to be installed in main ruby
    • default %w{foodcritic bundler rake kitchen-docker berkshelf test-kitchen}

Recipes

Author

Author:: sumit ([email protected])

cookbook-pipeline's People

Contributors

timusg avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.