Fix test repo dir, try to get centos-6 working
This commit is contained in:
parent
b2d760cd87
commit
f494b59fe1
|
@ -18,12 +18,13 @@ env:
|
||||||
- INSTANCE: v2018-3-py2-opensuse-423
|
- INSTANCE: v2018-3-py2-opensuse-423
|
||||||
- INSTANCE: v2018-3-py2-debian-8
|
- INSTANCE: v2018-3-py2-debian-8
|
||||||
- INSTANCE: v2018-3-py2-ubuntu-1604
|
- INSTANCE: v2018-3-py2-ubuntu-1604
|
||||||
- INSTANCE: v2018-3-py2-centos-6
|
- INSTANCE: v2018-3-py2-bootstrap-2016-11-centos-6
|
||||||
- INSTANCE: v2018-3-py2-forced-fedora-28
|
- INSTANCE: v2018-3-py2-forced-fedora-28
|
||||||
|
|
||||||
- INSTANCE: v2017-7-py2-debian-8
|
- INSTANCE: v2017-7-py2-debian-8
|
||||||
- INSTANCE: v2017-7-py2-ubuntu-1604
|
- INSTANCE: v2017-7-py2-ubuntu-1604
|
||||||
- INSTANCE: v2017-7-py2-centos-6
|
- INSTANCE: v2017-7-py2-centos-6
|
||||||
|
- INSTANCE: v2017-7-py2-bootstrap-2016-11-centos-6
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- bundle exec kitchen verify ${INSTANCE}
|
- bundle exec kitchen verify ${INSTANCE}
|
||||||
|
|
43
kitchen.yml
43
kitchen.yml
|
@ -117,10 +117,9 @@ suites:
|
||||||
includes:
|
includes:
|
||||||
- debian-8
|
- debian-8
|
||||||
- ubuntu-16.04
|
- ubuntu-16.04
|
||||||
- centos-6
|
|
||||||
- opensuse-42.3
|
- opensuse-42.3
|
||||||
provisioner:
|
provisioner:
|
||||||
# We need to require an old version of salt in the provisioner or,
|
# We require an old version of salt in the provisioner or,
|
||||||
# the salt formula fails to downgrade to the desired version to test
|
# the salt formula fails to downgrade to the desired version to test
|
||||||
salt_version: '2018.3.3'
|
salt_version: '2018.3.3'
|
||||||
pillars:
|
pillars:
|
||||||
|
@ -132,13 +131,31 @@ suites:
|
||||||
inspec_tests:
|
inspec_tests:
|
||||||
- path: test/integration/2018-3
|
- path: test/integration/2018-3
|
||||||
|
|
||||||
|
# To test salt on centos-6 we need to first use a python-2.6 version of salt (2016.11)
|
||||||
|
# and then upgrade it. See https://github.com/saltstack/salt/issues/47864
|
||||||
|
- name: v2018-3-py2-bootstrap-2016-11
|
||||||
|
includes:
|
||||||
|
- centos-6
|
||||||
|
provisioner:
|
||||||
|
# We require an old version of salt in the provisioner or,
|
||||||
|
# the salt formula fails to downgrade to the desired version to test
|
||||||
|
salt_version: '2016.11.10'
|
||||||
|
pillars:
|
||||||
|
salt.sls:
|
||||||
|
salt:
|
||||||
|
release: '2018.3'
|
||||||
|
py_ver: 'py2'
|
||||||
|
verifier:
|
||||||
|
inspec_tests:
|
||||||
|
- path: test/integration/2018-3
|
||||||
|
|
||||||
# To tests fedora 28 & salt v2018.2, we need to force the package version
|
# To tests fedora 28 & salt v2018.2, we need to force the package version
|
||||||
# otherwise the image, which includes the 'updates' repo, will install 2019.2
|
# otherwise the image, which includes the 'updates' repo, will install 2019.2
|
||||||
- name: v2018-3-py2-forced
|
- name: v2018-3-py2-forced
|
||||||
includes:
|
includes:
|
||||||
- fedora-28
|
- fedora-28
|
||||||
provisioner:
|
provisioner:
|
||||||
# We need to require an old version of salt in the provisioner or,
|
# We require an old version of salt in the provisioner or,
|
||||||
# the salt formula fails to downgrade to the desired version to test
|
# the salt formula fails to downgrade to the desired version to test
|
||||||
salt_version: '2018.3.3'
|
salt_version: '2018.3.3'
|
||||||
pillars:
|
pillars:
|
||||||
|
@ -159,7 +176,7 @@ suites:
|
||||||
- ubuntu-16.04
|
- ubuntu-16.04
|
||||||
- centos-6
|
- centos-6
|
||||||
provisioner:
|
provisioner:
|
||||||
# We need to require an old version of salt in the provisioner or,
|
# We require an old version of salt in the provisioner or,
|
||||||
# the salt formula fails to downgrade to the desired version to test
|
# the salt formula fails to downgrade to the desired version to test
|
||||||
salt_version: '2017.7.8'
|
salt_version: '2017.7.8'
|
||||||
pillars:
|
pillars:
|
||||||
|
@ -171,3 +188,21 @@ suites:
|
||||||
inspec_tests:
|
inspec_tests:
|
||||||
- path: test/integration/2017-7
|
- path: test/integration/2017-7
|
||||||
|
|
||||||
|
# To test salt on centos-6 we need to first use a python-2.6 version of salt (2016.11)
|
||||||
|
# and then upgrade it. See https://github.com/saltstack/salt/issues/47864
|
||||||
|
- name: v2017-7-py2-bootstrap-2016-11
|
||||||
|
includes:
|
||||||
|
- centos-6
|
||||||
|
provisioner:
|
||||||
|
# We require an old version of salt in the provisioner or,
|
||||||
|
# the salt formula fails to downgrade to the desired version to test
|
||||||
|
salt_version: '2016.11.10'
|
||||||
|
pillars:
|
||||||
|
salt.sls:
|
||||||
|
salt:
|
||||||
|
release: '2017.7'
|
||||||
|
py_ver: 'py2'
|
||||||
|
verifier:
|
||||||
|
inspec_tests:
|
||||||
|
- path: test/integration/2017-7
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue