Skip to content

Commit

Permalink
ci(kitchen+inspec): add Ubuntu test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
daks authored and myii committed Jan 15, 2020
1 parent 98c6d2c commit 39ba77d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,26 @@ services:
# Ref: https://github.com/saltstack-formulas/template-formula/issues/121
env:
matrix:
- INSTANCE: default-debian-10-develop-py3
# - INSTANCE: default-ubuntu-1804-develop-py3
- INSTANCE: debian-debian-10-develop-py3
# - INSTANCE: ubuntu-ubuntu-1804-develop-py3
# - INSTANCE: default-centos-7-develop-py3
# - INSTANCE: default-fedora-30-develop-py3
# - INSTANCE: default-opensuse-leap-15-develop-py3
# - INSTANCE: default-amazonlinux-2-develop-py2
# - INSTANCE: default-debian-9-2019-2-py3
- INSTANCE: default-ubuntu-1804-2019-2-py3
# - INSTANCE: debian-debian-9-2019-2-py3
- INSTANCE: ubuntu-ubuntu-1804-2019-2-py3
# - INSTANCE: default-centos-7-2019-2-py3
# - INSTANCE: default-fedora-30-2019-2-py3
# - INSTANCE: default-opensuse-leap-15-2019-2-py3
- INSTANCE: default-amazonlinux-2-2019-2-py2
# - INSTANCE: default-debian-9-2018-3-py2
# - INSTANCE: default-ubuntu-1604-2018-3-py2
# - INSTANCE: debian-debian-9-2018-3-py2
# - INSTANCE: ubuntu-ubuntu-1604-2018-3-py2
# - INSTANCE: default-centos-7-2018-3-py2
- INSTANCE: default-fedora-29-2018-3-py2
- INSTANCE: default-opensuse-leap-15-2018-3-py2
# - INSTANCE: default-amazonlinux-2-2018-3-py2
# - INSTANCE: default-debian-8-2017-7-py2
# - INSTANCE: default-ubuntu-1604-2017-7-py2
# - INSTANCE: debian-debian-8-2017-7-py2
# - INSTANCE: ubuntu-ubuntu-1604-2017-7-py2
- INSTANCE: default-centos-6-2017-7-py2
# - INSTANCE: default-fedora-29-2017-7-py2
# - INSTANCE: default-opensuse-leap-15-2017-7-py2
Expand Down
23 changes: 22 additions & 1 deletion kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ verifier:
- cli

suites:
- name: default
- name: debian
includes:
- debian-10-develop-py3
- debian-9-2019-2-py3
Expand All @@ -155,3 +155,24 @@ suites:
inspec_tests:
- path: test/integration/default

- name: ubuntu
includes:
- ubuntu-1804-develop-py3
- ubuntu-1804-2019-2-py3
- ubuntu-1604-2018-3-py2
- ubuntu-1604-2017-7-py2
provisioner:
state_top:
base:
'*':
- packages
pillars:
top.sls:
base:
'*':
- packages
pillars_from_files:
packages.sls: test/salt/pillar/pillar.example.ubuntu.1804
verifier:
inspec_tests:
- path: test/integration/default

0 comments on commit 39ba77d

Please sign in to comment.