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: ...@@ -6,7 +6,6 @@ addons:
packages: packages:
- chef-workstation - chef-workstation
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install" install: echo "skip bundle install"
env: env:
...@@ -24,6 +23,7 @@ env: ...@@ -24,6 +23,7 @@ env:
- INSTANCE=default-centos-7 CHEF_VERSION=13 - INSTANCE=default-centos-7 CHEF_VERSION=13
- INSTANCE=default-debian-8 CHEF_VERSION=13 - INSTANCE=default-debian-8 CHEF_VERSION=13
- INSTANCE=default-debian-9 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-fedora-latest CHEF_VERSION=13
- INSTANCE=default-ubuntu-1604 CHEF_VERSION=13 - INSTANCE=default-ubuntu-1604 CHEF_VERSION=13
- INSTANCE=default-ubuntu-1804 CHEF_VERSION=13 - INSTANCE=default-ubuntu-1804 CHEF_VERSION=13
...@@ -31,10 +31,23 @@ env: ...@@ -31,10 +31,23 @@ env:
- INSTANCE=default-amazonlinux CHEF_VERSION=13 - INSTANCE=default-amazonlinux CHEF_VERSION=13
- INSTANCE=default-amazonlinux-2 CHEF_VERSION=13 - INSTANCE=default-amazonlinux-2 CHEF_VERSION=13
- INSTANCE=manage-centos-7 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-6
- INSTANCE=default-centos-7 - INSTANCE=default-centos-7
- INSTANCE=default-debian-8 - INSTANCE=default-debian-8
- INSTANCE=default-debian-9 - INSTANCE=default-debian-9
- INSTANCE=default-debian-10
- INSTANCE=default-fedora-latest - INSTANCE=default-fedora-latest
- INSTANCE=default-ubuntu-1604 - INSTANCE=default-ubuntu-1604
- INSTANCE=default-ubuntu-1804 - INSTANCE=default-ubuntu-1804
...@@ -47,15 +60,13 @@ before_script: ...@@ -47,15 +60,13 @@ before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)" - eval "$(chef shell-init bash)"
- chef --version - chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml CHEF_VERSION=${CHEF_VERSION} kitchen verify ${INSTANCE} script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml CHEF_VERSION=${CHEF_VERSION} kitchen verify ${INSTANCE}
matrix: matrix:
include: include:
- script: - script:
- chef exec delivery local all - delivery local all
env: env:
- UNIT_AND_LINT=1 - UNIT_AND_LINT=1
- CHEF_LICENSE=accept - CHEF_LICENSE=accept
# This gemfile provides additional gems for testing and releasing this cookbook # 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 # of the necessary gems for testing this cookbook
# #
# Run 'chef exec bundle install' to install these dependencies # Run 'chef exec bundle install' to install these dependencies
......
...@@ -2,6 +2,7 @@ driver: ...@@ -2,6 +2,7 @@ driver:
name: dokken name: dokken
privileged: true # because Docker and SystemD/Upstart privileged: true # because Docker and SystemD/Upstart
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %> chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
chef_license: accept-no-persist
transport: transport:
name: dokken name: dokken
...@@ -38,6 +39,13 @@ platforms: ...@@ -38,6 +39,13 @@ platforms:
intermediate_instructions: intermediate_instructions:
- RUN /usr/bin/apt-get update - 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 - name: centos-6
driver: driver:
image: dokken/centos-6 image: dokken/centos-6
......
...@@ -13,14 +13,14 @@ platforms: ...@@ -13,14 +13,14 @@ platforms:
- name: amazonlinux - name: amazonlinux
driver_config: driver_config:
box: mvbcoding/awslinux box: mvbcoding/awslinux
- name: amazonlinux-2 # requires insalling the virtualbox extension pack - name: amazonlinux-2 # requires installing the virtualbox extension pack
driver_config: driver_config:
box: stakahashi/amazonlinux2 box: stakahashi/amazonlinux2
- name: centos-6 - name: centos-6
- name: centos-7 - name: centos-7
- name: debian-8
- name: debian-9 - name: debian-9
- name: fedora-28 - name: debian-10
- name: fedora-29
- name: opensuse-leap-42 - name: opensuse-leap-42
- name: sles-11-sp2 - name: sles-11-sp2
driver: 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