Commit fc71b2d6 authored by Tim Smith's avatar Tim Smith
Browse files

Add Chef 14 and Debian 10 testing in Travis


Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent c4f46fa1
......@@ -6,7 +6,6 @@ addons:
packages:
- chef-workstation
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
env:
......@@ -24,6 +23,7 @@ env:
- INSTANCE=default-centos-7 CHEF_VERSION=13
- INSTANCE=default-debian-8 CHEF_VERSION=13
- INSTANCE=default-debian-9 CHEF_VERSION=13
- INSTANCE=default-debian-10 CHEF_VERSION=13
- INSTANCE=default-fedora-latest CHEF_VERSION=13
- INSTANCE=default-ubuntu-1604 CHEF_VERSION=13
- INSTANCE=default-ubuntu-1804 CHEF_VERSION=13
......@@ -31,10 +31,23 @@ env:
- INSTANCE=default-amazonlinux CHEF_VERSION=13
- INSTANCE=default-amazonlinux-2 CHEF_VERSION=13
- INSTANCE=manage-centos-7 CHEF_VERSION=13
- INSTANCE=default-centos-6 CHEF_VERSION=14
- INSTANCE=default-centos-7 CHEF_VERSION=14
- INSTANCE=default-debian-8 CHEF_VERSION=14
- INSTANCE=default-debian-9 CHEF_VERSION=14
- INSTANCE=default-debian-10 CHEF_VERSION=14
- INSTANCE=default-fedora-latest CHEF_VERSION=14
- INSTANCE=default-ubuntu-1604 CHEF_VERSION=14
- INSTANCE=default-ubuntu-1804 CHEF_VERSION=14
- INSTANCE=default-opensuse-leap CHEF_VERSION=14
- INSTANCE=default-amazonlinux CHEF_VERSION=14
- INSTANCE=default-amazonlinux-2 CHEF_VERSION=14
- INSTANCE=manage-centos-7 CHEF_VERSION=14
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
- INSTANCE=default-debian-8
- INSTANCE=default-debian-9
- INSTANCE=default-debian-10
- INSTANCE=default-fedora-latest
- INSTANCE=default-ubuntu-1604
- INSTANCE=default-ubuntu-1804
......@@ -47,15 +60,13 @@ before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml CHEF_VERSION=${CHEF_VERSION} kitchen verify ${INSTANCE}
matrix:
include:
- script:
- chef exec delivery local all
- delivery local all
env:
- UNIT_AND_LINT=1
- CHEF_LICENSE=accept
# This gemfile provides additional gems for testing and releasing this cookbook
# It is meant to be installed on top of ChefDK which provides the majority
# It is meant to be installed on top of ChefDK / Chef Workstation which provide the majority
# of the necessary gems for testing this cookbook
#
# Run 'chef exec bundle install' to install these dependencies
......
......@@ -2,6 +2,7 @@ driver:
name: dokken
privileged: true # because Docker and SystemD/Upstart
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
chef_license: accept-no-persist
transport:
name: dokken
......@@ -38,6 +39,13 @@ platforms:
intermediate_instructions:
- RUN /usr/bin/apt-get update
- name: debian-10
driver:
image: dokken/debian-10
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- name: centos-6
driver:
image: dokken/centos-6
......
......@@ -13,14 +13,14 @@ platforms:
- name: amazonlinux
driver_config:
box: mvbcoding/awslinux
- name: amazonlinux-2 # requires insalling the virtualbox extension pack
- name: amazonlinux-2 # requires installing the virtualbox extension pack
driver_config:
box: stakahashi/amazonlinux2
- name: centos-6
- name: centos-7
- name: debian-8
- name: debian-9
- name: fedora-28
- name: debian-10
- name: fedora-29
- name: opensuse-leap-42
- name: sles-11-sp2
driver:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment