Created
December 5, 2016 00:22
-
-
Save bo67192/3da43ad8cba0a70794ab6562b9a1da20 to your computer and use it in GitHub Desktop.
buildspec.yml for chef cookbooks on AWS CodeBuild
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 | |
environment_variables: | |
plaintext: | |
key: "value" | |
key: "value" | |
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 | |
- templates | |
- spec | |
discard-paths: no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment