ci(kitchen+travis): use py2 instead of py3 for centos-7

* https://github.com/saltstack-formulas/salt-formula/pull/414
This commit is contained in:
Imran Iqbal 2019-04-19 19:29:25 +01:00
parent c24d2b64d4
commit 2f6a7d4e6d
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819
2 changed files with 2 additions and 8 deletions

View File

@ -13,7 +13,7 @@ env:
matrix: matrix:
- INSTANCE: v2019-2-py3-debian-9 - INSTANCE: v2019-2-py3-debian-9
- INSTANCE: v2019-2-py3-ubuntu-1804 - INSTANCE: v2019-2-py3-ubuntu-1804
#- INSTANCE: v2019-2-py3-centos-7 - INSTANCE: v2019-2-py2-centos-7
- INSTANCE: v2019-2-py2-fedora-29 - INSTANCE: v2019-2-py2-fedora-29
- INSTANCE: v2018-3-py2-debian-8 - INSTANCE: v2018-3-py2-debian-8

View File

@ -62,14 +62,7 @@ suites:
includes: includes:
- debian-9 - debian-9
- ubuntu-18.04 - ubuntu-18.04
- centos-7
provisioner: provisioner:
# If we don't force bootstrapping with python3, centos bootstraps using python2
# and then, when switching the repo to python3 and tries to install
# the packages, complains with
# Downloading packages:
# https://repo.saltstack.com/py3/re.........rpm: [Errno -1] Package does not
# match intended download. Suggestion: run yum --enablerepo=saltstack clean metadata
salt_bootstrap_options: -X -x python3 -d git %s salt_bootstrap_options: -X -x python3 -d git %s
salt_version: '2019.2' salt_version: '2019.2'
pillars: pillars:
@ -87,6 +80,7 @@ suites:
# Fedora ships updated py2 versions in their own repos # Fedora ships updated py2 versions in their own repos
- name: v2019-2-py2 - name: v2019-2-py2
includes: includes:
- centos-7
- fedora-29 - fedora-29
provisioner: provisioner:
salt_version: '2019.2' salt_version: '2019.2'