Skip to content

Commit

Permalink
Run kitchen-dokken tests on the stable chef version
Browse files Browse the repository at this point in the history
and do some tests on the current releases

Signed-off-by: Artem Sidorenko <[email protected]>
  • Loading branch information
artem-sidorenko committed Mar 8, 2019
1 parent 06d9c52 commit a6a9a78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .kitchen.dokken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
driver:
name: dokken
privileged: true # because Docker and SystemD/Upstart
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
chef_version: <%= ENV['CHEF_VERSION'] || 'latest' %>

transport:
name: dokken
Expand Down
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ env:
- INSTANCE=ubuntu-16-04 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=ubuntu-18-04 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=ubuntu-16-04 CHEF_VERSION=14.0.190 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=ubuntu-16-04 CHEF_VERSION=current KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=centos-6 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=centos-7 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=centos-7 CHEF_VERSION=14.0.190 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=centos-7 CHEF_VERSION=current KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=oracle-6 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=oracle-7 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=debian-8 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
Expand All @@ -41,11 +43,15 @@ script:
- bundle exec rake kitchen

matrix:
allow_failures: # temporaray disable failing tests until all problems are fixed
allow_failures:
# temporaray disable failing tests until all problems are fixed
- env: INSTANCE=ubuntu-16-04 CHEF_VERSION=14.0.190 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- env: INSTANCE=centos-7 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- env: INSTANCE=centos-7 CHEF_VERSION=14.0.190 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- env: INSTANCE=opensuse-42 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
# allow runs with latest non-stable chef version to fail
- env: INSTANCE=ubuntu-16-04 CHEF_VERSION=current KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- env: INSTANCE=centos-7 CHEF_VERSION=current KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
include:
- env: UNIT_AND_LINT=1
script:
Expand Down

0 comments on commit a6a9a78

Please sign in to comment.