mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-17 10:10:27 +00:00
ci(kitchen+inspec): add Centos test suite
This commit is contained in:
parent
e41117c34b
commit
d320ccd36b
3 changed files with 37 additions and 12 deletions
22
.travis.yml
22
.travis.yml
|
@ -30,27 +30,27 @@ 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: debian-debian-10-develop-py3
|
# - INSTANCE: debian-debian-10-develop-py3
|
||||||
# - INSTANCE: ubuntu-ubuntu-1804-develop-py3
|
# - INSTANCE: ubuntu-ubuntu-1804-develop-py3
|
||||||
# - INSTANCE: default-centos-7-develop-py3
|
- INSTANCE: centos-centos-7-develop-py3
|
||||||
#- INSTANCE: fedora30-fedora-30-develop-py3
|
# - INSTANCE: fedora30-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: debian-debian-9-2019-2-py3
|
# - INSTANCE: debian-debian-9-2019-2-py3
|
||||||
- INSTANCE: ubuntu-ubuntu-1804-2019-2-py3
|
# - INSTANCE: ubuntu-ubuntu-1804-2019-2-py3
|
||||||
# - INSTANCE: default-centos-7-2019-2-py3
|
- INSTANCE: centos-centos-7-2019-2-py3
|
||||||
- INSTANCE: fedora30-fedora-30-2019-2-py3
|
# - INSTANCE: fedora30-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: debian-debian-9-2018-3-py2
|
# - INSTANCE: debian-debian-9-2018-3-py2
|
||||||
# - INSTANCE: ubuntu-ubuntu-1604-2018-3-py2
|
# - INSTANCE: ubuntu-ubuntu-1604-2018-3-py2
|
||||||
# - INSTANCE: default-centos-7-2018-3-py2
|
- INSTANCE: centos-centos-7-2018-3-py2
|
||||||
- INSTANCE: fedora29-fedora-29-2018-3-py2
|
# - INSTANCE: fedora29-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: debian-debian-8-2017-7-py2
|
# - INSTANCE: debian-debian-8-2017-7-py2
|
||||||
# - INSTANCE: ubuntu-ubuntu-1604-2017-7-py2
|
# - INSTANCE: ubuntu-ubuntu-1604-2017-7-py2
|
||||||
- INSTANCE: default-centos-6-2017-7-py2
|
# - INSTANCE: centos-centos-6-2017-7-py2
|
||||||
# - INSTANCE: fedora29-fedora-29-2017-7-py2
|
# - INSTANCE: fedora29-fedora-29-2017-7-py2
|
||||||
# - INSTANCE: default-opensuse-leap-15-2017-7-py2
|
# - INSTANCE: default-opensuse-leap-15-2017-7-py2
|
||||||
# - INSTANCE: default-amazonlinux-2-2017-7-py2
|
# - INSTANCE: default-amazonlinux-2-2017-7-py2
|
||||||
|
|
26
kitchen.yml
26
kitchen.yml
|
@ -216,3 +216,29 @@ suites:
|
||||||
verifier:
|
verifier:
|
||||||
inspec_tests:
|
inspec_tests:
|
||||||
- path: test/integration/default
|
- path: test/integration/default
|
||||||
|
|
||||||
|
- name: centos
|
||||||
|
includes:
|
||||||
|
- centos-7-develop-py3
|
||||||
|
- centos-7-2019-2-py3
|
||||||
|
- centos-7-2018-3-py2
|
||||||
|
- centos-6-2017-7-py2
|
||||||
|
provisioner:
|
||||||
|
dependencies:
|
||||||
|
- name: epel
|
||||||
|
repo: git
|
||||||
|
source: https://github.com/saltstack-formulas/epel-formula.git
|
||||||
|
state_top:
|
||||||
|
base:
|
||||||
|
'*':
|
||||||
|
- packages
|
||||||
|
pillars:
|
||||||
|
top.sls:
|
||||||
|
base:
|
||||||
|
'*':
|
||||||
|
- packages
|
||||||
|
pillars_from_files:
|
||||||
|
packages.sls: test/salt/pillar/pillar.example.redhat
|
||||||
|
verifier:
|
||||||
|
inspec_tests:
|
||||||
|
- path: test/integration/default
|
||||||
|
|
|
@ -17,7 +17,6 @@ packages:
|
||||||
- yum-plugin-versionlock
|
- yum-plugin-versionlock
|
||||||
pips:
|
pips:
|
||||||
wanted:
|
wanted:
|
||||||
- dxpy
|
|
||||||
- attrs
|
- attrs
|
||||||
unwanted:
|
unwanted:
|
||||||
- campbel
|
- campbel
|
||||||
|
|
Loading…
Add table
Reference in a new issue