Created
December 10, 2016 19:26
-
-
Save bo67192/df99701518fbf19dfaa331405d45fb0f to your computer and use it in GitHub Desktop.
Buildspec.yml file for building chef cookbooks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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