From a6a9a7832840fafbc92947264903bff70736bda6 Mon Sep 17 00:00:00 2001 From: Artem Sidorenko Date: Fri, 8 Mar 2019 22:17:51 +0100 Subject: [PATCH] Run kitchen-dokken tests on the stable chef version and do some tests on the current releases Signed-off-by: Artem Sidorenko --- .kitchen.dokken.yml | 2 +- .travis.yml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.kitchen.dokken.yml b/.kitchen.dokken.yml index 9e66db23..35e13e32 100644 --- a/.kitchen.dokken.yml +++ b/.kitchen.dokken.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index 39284110..a11495de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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: