Skip to content

Instantly share code, notes, and snippets.

@bo67192
Created December 10, 2016 19:26
Show Gist options
  • Save bo67192/df99701518fbf19dfaa331405d45fb0f to your computer and use it in GitHub Desktop.
Save bo67192/df99701518fbf19dfaa331405d45fb0f to your computer and use it in GitHub Desktop.
Buildspec.yml file for building chef cookbooks
version: 0.1
phases:
install:
commands:
- sudo apt-get update -y
- sudo apt-get install -y wget
- sudo apt-get install -y gdebi
- wget https://packages.chef.io/stable/ubuntu/12.04/chefdk_1.0.3-1_amd64.deb
- gdebi -n chefdk_1.0.3-1_amd64.deb
build:
commands:
- foodcritic .
post_build:
commands:
- echo No post build yet
artifacts:
type: zip
files:
- files/*
- recipes/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment