---
-# $ fly -t $CC_TARGET sp -p minim-server-cookbook -c concourse.yml -l fly-vars.yml -l ~/sec/credentials-prod.yml
resources:
- name: src-git
type: git
- -c
- |
cd ./src-git/cookbooks/((cookbook-name))
+ bundle config --local silence_root_warning 1
bundle install
rake
- name: publish-cookbook
echo '{"username":"((chef-username))","key":"/root/chef-client-key.pem"}' > /root/.stove
echo "$chef_client_key" > /root/chef-client-key.pem
cd ./src-git/cookbooks/((cookbook-name))
+ bundle config --local silence_root_warning 1
bundle install
rake publish
- put: src-git