inspec/.delivery/build-cookbook/recipes/unit.rb
Dominik Richter 416499cd64 add delivery unit + lint tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 12:24:58 +02:00

14 lines
326 B
Ruby

#
# Cookbook Name:: build-cookbook
# Recipe:: unit
#
# Copyright (c) 2015 Chef Software Inc., All Rights Reserved.
# Author:: Dominik Richter
include_recipe 'build-cookbook::prepare'
execute 'rake test' do
command 'bundle exec rake'
cwd node['delivery_builder']['repo']
user node['delivery_builder']['build_user']
end