-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get most test kitchen tests passing in Travis #405
Conversation
libraries/matchers.rb
Outdated
@@ -1,12 +1,3 @@ | |||
# encoding: utf-8 | |||
|
|||
# used by ChefSpec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whole file should just get removed now that it's empty
.travis.yml
Outdated
- CHEF_VERSION=15 | ||
- KITCHEN_YAML=kitchen.dokken.yml | ||
- CHEF_LICENSE="accept-no-persist" | ||
|
||
before_install: | ||
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) | ||
- CHEF_LICENSE="accept-no-persist" sudo chef gem install webmock | ||
- eval "$(chef shell-init bash)" | ||
- chef --version | ||
- cookstyle --version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chef --version should include all the version output you need. It includes cookstyle and kitchen and foodcritic is dead.
.travis.yml
Outdated
@@ -43,24 +51,27 @@ matrix: | |||
- rvm: 2.6.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should probably get updated to 2.6.5 while you're in here to match chef
Signed-off-by: Clinton Wolfe <[email protected]>
Signed-off-by: Clinton Wolfe <[email protected]>
Signed-off-by: Clinton Wolfe <[email protected]>
Signed-off-by: Clinton Wolfe <[email protected]>
Signed-off-by: Clinton Wolfe <[email protected]>
Update tests to pass travs Signed-off-by: Alex Pop <[email protected]>
Gents, I pused a commit that clears all the outstanding travis errors. |
This was mainly about updating which Kitchenfile was to be used, and the fact that we now need to accept a license.
Along the way, one set of suites (5) was discovered to be badly broken due to an inspec bug (the naming collision around the
gem
resource). I opened an issue (#406) and commented out those suites for now.Finally, the tests won't turn green yet because the codebase fails linting. I opened #407 to track that. I can fix that on this PR if desired.Fixes #407, partially addresses #403