2
0

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

This commit is contained in:
Imran Iqbal 2019-04-19 19:03:54 +01:00
parent 0ba5261e1b
commit 071942061d
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819
2 changed files with 2 additions and 8 deletions

View File

@ -12,7 +12,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

@ -83,14 +83,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:
@ -107,6 +100,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'