This repository has been archived by the owner on Nov 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Merged
Changes from 3 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
81d647f
Inspec all the things
damacus 8f66595
Update travis with test matrix
damacus f259020
Don't override kitchen runlist
damacus 48656a0
Rename dokken --> docker
damacus c3846e5
Update testing matrix
damacus 75f22d2
Cookstyle
damacus d7f3161
- Switch back to using dokken files rather than docker
damacus a5b6149
Remove apt and yum deps from Berks
damacus f0bcc67
trying kitchen-dokken update
rshade 16a1623
using stuff I can access
rshade 2b0a596
commenting out the tcp_wmem test
rshade 6ddcc13
Fixing fedora andpath
rshade e72555f
Update test matrix
damacus 4dbbdfd
removing wmem test and fixing cookstyle
rshade dfd8a7f
moving tests
rshade 5600609
fixing attrs for attr test, removing leap
rshade 90782c8
adding chefspec recipe
rshade File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,55 @@ | ||
sudo: required | ||
dist: trusty | ||
|
||
# install the pre-release chef-dk. Use chef-stable-trusty to install the stable release | ||
addons: | ||
apt: | ||
sources: | ||
- chef-stable-trusty | ||
packages: | ||
- chefdk | ||
|
||
notifications: | ||
webhooks: | ||
urls: | ||
- https://webhooks.gitter.im/e/8037ef4b880ec4953fed | ||
on_success: change # options: [always|never|change] default: always | ||
on_failure: always # options: [always|never|change] default: always | ||
on_start: false # default: false | ||
language: ruby | ||
rvm: | ||
- 2.3.1 | ||
bundler_args: --without integration development | ||
script: | ||
- bundle exec foodcritic -f any . --tags ~FC007 --tags ~FC015 --tags ~FC023 --tags ~FC059 | ||
- bundle exec rubocop -r cookstyle | ||
- bundle exec rspec | ||
|
||
# Don't `bundle install` which takes about 1.5 mins | ||
install: echo "skip bundle install" | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
services: docker | ||
|
||
env: | ||
matrix: | ||
- INSTANCE=client-centos-6 | ||
- INSTANCE=client-centos-7 | ||
- INSTANCE=client-ubuntu-1204 | ||
- INSTANCE=client-ubuntu-1404 | ||
- INSTANCE=client-ubuntu-1604 | ||
- INSTANCE=server-centos-6 | ||
- INSTANCE=server-centos-7 | ||
- INSTANCE=server-ubuntu-1204 | ||
- INSTANCE=server-ubuntu-1404 | ||
- INSTANCE=server-ubuntu-1604 | ||
|
||
before_script: | ||
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) | ||
- eval "$(/opt/chefdk/bin/chef shell-init bash)" | ||
- /opt/chefdk/embedded/bin/chef --version | ||
- /opt/chefdk/embedded/bin/cookstyle --version | ||
- /opt/chefdk/embedded/bin/foodcritic --version | ||
|
||
script: KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE} | ||
|
||
matrix: | ||
include: | ||
- script: | ||
- /opt/chefdk/bin/chef exec rake | ||
env: UNIT_AND_LINT=1 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This comment was marked as outdated.
Sorry, something went wrong.