mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-16 09:40:23 +00:00
ci(kitchen+inspec): add Ubuntu test suite
This commit is contained in:
parent
98c6d2c9ba
commit
39ba77d044
2 changed files with 30 additions and 9 deletions
16
.travis.yml
16
.travis.yml
|
@ -30,26 +30,26 @@ services:
|
||||||
# Ref: https://github.com/saltstack-formulas/template-formula/issues/121
|
# Ref: https://github.com/saltstack-formulas/template-formula/issues/121
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
- INSTANCE: default-debian-10-develop-py3
|
- INSTANCE: debian-debian-10-develop-py3
|
||||||
# - INSTANCE: default-ubuntu-1804-develop-py3
|
# - INSTANCE: ubuntu-ubuntu-1804-develop-py3
|
||||||
# - INSTANCE: default-centos-7-develop-py3
|
# - INSTANCE: default-centos-7-develop-py3
|
||||||
# - INSTANCE: default-fedora-30-develop-py3
|
# - INSTANCE: default-fedora-30-develop-py3
|
||||||
# - INSTANCE: default-opensuse-leap-15-develop-py3
|
# - INSTANCE: default-opensuse-leap-15-develop-py3
|
||||||
# - INSTANCE: default-amazonlinux-2-develop-py2
|
# - INSTANCE: default-amazonlinux-2-develop-py2
|
||||||
# - INSTANCE: default-debian-9-2019-2-py3
|
# - INSTANCE: debian-debian-9-2019-2-py3
|
||||||
- INSTANCE: default-ubuntu-1804-2019-2-py3
|
- INSTANCE: ubuntu-ubuntu-1804-2019-2-py3
|
||||||
# - INSTANCE: default-centos-7-2019-2-py3
|
# - INSTANCE: default-centos-7-2019-2-py3
|
||||||
# - INSTANCE: default-fedora-30-2019-2-py3
|
# - INSTANCE: default-fedora-30-2019-2-py3
|
||||||
# - INSTANCE: default-opensuse-leap-15-2019-2-py3
|
# - INSTANCE: default-opensuse-leap-15-2019-2-py3
|
||||||
- INSTANCE: default-amazonlinux-2-2019-2-py2
|
- INSTANCE: default-amazonlinux-2-2019-2-py2
|
||||||
# - INSTANCE: default-debian-9-2018-3-py2
|
# - INSTANCE: debian-debian-9-2018-3-py2
|
||||||
# - INSTANCE: default-ubuntu-1604-2018-3-py2
|
# - INSTANCE: ubuntu-ubuntu-1604-2018-3-py2
|
||||||
# - INSTANCE: default-centos-7-2018-3-py2
|
# - INSTANCE: default-centos-7-2018-3-py2
|
||||||
- INSTANCE: default-fedora-29-2018-3-py2
|
- INSTANCE: default-fedora-29-2018-3-py2
|
||||||
- INSTANCE: default-opensuse-leap-15-2018-3-py2
|
- INSTANCE: default-opensuse-leap-15-2018-3-py2
|
||||||
# - INSTANCE: default-amazonlinux-2-2018-3-py2
|
# - INSTANCE: default-amazonlinux-2-2018-3-py2
|
||||||
# - INSTANCE: default-debian-8-2017-7-py2
|
# - INSTANCE: debian-debian-8-2017-7-py2
|
||||||
# - INSTANCE: default-ubuntu-1604-2017-7-py2
|
# - INSTANCE: ubuntu-ubuntu-1604-2017-7-py2
|
||||||
- INSTANCE: default-centos-6-2017-7-py2
|
- INSTANCE: default-centos-6-2017-7-py2
|
||||||
# - INSTANCE: default-fedora-29-2017-7-py2
|
# - INSTANCE: default-fedora-29-2017-7-py2
|
||||||
# - INSTANCE: default-opensuse-leap-15-2017-7-py2
|
# - INSTANCE: default-opensuse-leap-15-2017-7-py2
|
||||||
|
|
23
kitchen.yml
23
kitchen.yml
|
@ -133,7 +133,7 @@ verifier:
|
||||||
- cli
|
- cli
|
||||||
|
|
||||||
suites:
|
suites:
|
||||||
- name: default
|
- name: debian
|
||||||
includes:
|
includes:
|
||||||
- debian-10-develop-py3
|
- debian-10-develop-py3
|
||||||
- debian-9-2019-2-py3
|
- debian-9-2019-2-py3
|
||||||
|
@ -155,3 +155,24 @@ suites:
|
||||||
inspec_tests:
|
inspec_tests:
|
||||||
- path: test/integration/default
|
- 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue