Testing updates

Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent b6577788
......@@ -34,7 +34,7 @@ _yardoc
doc/
.idea
#chef stuff
# chef stuff
Berksfile.lock
.kitchen
.kitchen.local.yml
......@@ -43,7 +43,7 @@ vendor/
.zero-knife.rb
Policyfile.lock.json
#vagrant stuff
# vagrant stuff
.vagrant/
.vagrant.d/
.kitchen/
# This gemfile provides additional gems for testing and releasing this cookbook
# It is meant to be installed on top of ChefDK which provides the majority
# of the necessary gems for testing this cookbook
#
# Run 'chef exec bundle install' to install these dependencies
source 'https://rubygems.org'
gem 'tomlrb'
......
......@@ -10,7 +10,7 @@ Check out [How Cookbooks are Maintained](https://github.com/chef-cookbooks/commu
for details on the process and how to become a maintainer or the project lead.
# Project Maintainer
* [Sean OMeara](https://github.com/someara)
* [Tim Smith](https://github.com/tas50)
# Maintainers
* [Jennifer Davis](https://github.com/sigje)
......
#!/usr/bin/env rake
require_relative 'tasks/maintainers'
# Style tests. cookstyle (rubocop) and Foodcritic
namespace :style do
begin
......@@ -47,10 +49,8 @@ namespace :integration do
desc 'Run kitchen integration tests'
Kitchen::RakeTasks.new
rescue LoadError => e
puts ">>> Gem load error: #{e}, omitting #{task.name}" unless ENV['CI']
rescue Kitchen::UserError => e
puts ">>> Test Kitchen error: #{e}" unless ENV['CI']
rescue StandardError => e
puts ">>> Kitchen error: #{e}, omitting #{task.name}" unless ENV['CI']
end
end
......
#
# Copyright:: Copyright (c) 2015 Chef Software, Inc.
# Copyright:: Copyright (c) 2015-2016 Chef Software, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
......@@ -22,7 +22,7 @@ TARGET = File.join(File.dirname(__FILE__), '..', 'MAINTAINERS.md')
begin
require 'tomlrb'
task default: :generate
task default: 'maintainers:generate'
namespace :maintainers do
desc 'Generate MarkDown version of MAINTAINERS file'
......@@ -41,7 +41,7 @@ begin
end
rescue LoadError
STDERR.puts "\n*** TomlRb not available.\n\n"
STDERR.puts "\n*** TomlRb not available. Skipping the Maintainers Rake task\n\n"
end
private
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment