-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix deprecation warning, using allow instead of should_receive * chef 12 migration * updating from skeleton for tests * updating for cookstyle * removing berksfile.lock * adding .travis_install.sh * removing centos7.0 * removing apt * updating ruby-version * updating rakefile and travis * pinning Berksfile.lock * updating readme to chef12
- Loading branch information
Showing
28 changed files
with
597 additions
and
178 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--color | ||
--format documentation |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
AllCops: | ||
Exclude: | ||
- 'berks-cookbooks/**/*' | ||
- 'knife.rb' | ||
Style/AccessorMethodName: | ||
Exclude: | ||
- 'Rakefile' | ||
Metrics/BlockNesting: | ||
Exclude: | ||
- 'libraries/helper.rb' | ||
Style/GuardClause: | ||
Exclude: | ||
- 'test/cookbooks/fake/recipes/gce.rb' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.3.1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
language: ruby | ||
rvm: | ||
- 2.0.0 | ||
- 1.9.3 | ||
before_script: bundle exec berks install | ||
script: bundle exec strainer test --except kitchen | ||
- 2.3.1 | ||
before_install: | ||
- curl -L https://www.getchef.com/chef/install.sh | sudo bash -s -- -P chefdk -v 1.0.3 | ||
- gem install bundler -v 1.11.2 | ||
install: | ||
- chef exec bundle install --jobs=3 --retry=3 | ||
before_script: chef exec rake setup_test_environment | ||
script: "./.travis_install.sh" | ||
notifications: | ||
slack: | ||
secure: SqcVb40KzZcnESU9VKcUWpEmrPUamdrgqfmBAfndtHkGP4Pg3sESgPbZdY3CFsHtzjXV6I9LU+1b9YU3IXcKTos/+Eky5QixBxGwS2lq7yMB+FWHbi4FLvf9KaYx3lMwMuBzEmnJxMhbE7VX6rQk/FayR+0Og7g/InQKRVMJlMc= | ||
secure: Nhz+yIbiEFxLUQqHe0EisN/r7gGSFfqm16eRRsCI9mMUiN6J9ao6/N6kE/YGcShDUO/rG1wvf0j9HEDE10kefQpVV1bp9AdDQfgYZJtYiV41xg3eJYquQcVRL96Fl7Td3gtazvGG6xwxjrZMFHz9tX1LTAD1/YWFUHn/NvdRB/Y= |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
set -ev | ||
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then | ||
git clone https://github.com/$TRAVIS_REPO_SLUG.git $TRAVIS_REPO_SLUG | ||
cd $TRAVIS_REPO_SLUG | ||
git checkout master | ||
git checkout -qf $TRAVIS_COMMIT | ||
fi | ||
chef exec rake except_kitchen |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
site :opscode | ||
source 'https://supermarket.chef.io' | ||
|
||
metadata | ||
|
||
cookbook "fake", path: "./test/cookbooks/fake", group: :integration | ||
cookbook 'fake', path: './test/cookbooks/fake', group: :integration |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
DEPENDENCIES | ||
ephemeral_lvm | ||
path: . | ||
metadata: true | ||
fake | ||
path: test/cookbooks/fake | ||
|
||
GRAPH | ||
ephemeral_lvm (2.0.0) | ||
lvm (~> 3.1) | ||
fake (0.1.0) | ||
lvm (3.1.0) |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,7 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'berkshelf' | ||
gem 'thor-foodcritic' | ||
gem 'thor-scmversion' | ||
gem 'rack', '= 1.6.4' | ||
gem 'json', '~> 1.8', '>= 1.8.3' | ||
gem 'buff-ignore', '~> 1.1.1' | ||
gem 'net-http-persistent', '= 2.9.4' | ||
|
||
gem 'rake' | ||
gem 'chef', '~> 12.16' | ||
|
||
group :integration do | ||
gem 'test-kitchen', '~> 1.2.1' | ||
gem 'kitchen-vagrant' | ||
end | ||
|
||
group :test do | ||
gem 'chefspec', '~> 3.4.0' | ||
gem 'strainer', '~> 3.3.0' | ||
end |
Oops, something went wrong.