Skip to content

Commit 0c0eca2

Browse files
Merge pull request #414 from myii/bug/use-py2-centos-7
ci(kitchen+travis): use `py2` instead of `py3` for `centos-7`
2 parents 0ba5261 + 0719420 commit 0c0eca2

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
matrix:
1313
- INSTANCE: v2019-2-py3-debian-9
1414
- INSTANCE: v2019-2-py3-ubuntu-1804
15-
- INSTANCE: v2019-2-py3-centos-7
15+
- INSTANCE: v2019-2-py2-centos-7
1616
- INSTANCE: v2019-2-py2-fedora-29
1717

1818
- INSTANCE: v2018-3-py2-debian-8

kitchen.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,7 @@ suites:
8383
includes:
8484
- debian-9
8585
- ubuntu-18.04
86-
- centos-7
8786
provisioner:
88-
# If we don't force bootstrapping with python3, centos bootstraps using python2
89-
# and then, when switching the repo to python3 and tries to install
90-
# the packages, complains with
91-
# Downloading packages:
92-
# https://repo.saltstack.com/py3/re.........rpm: [Errno -1] Package does not
93-
# match intended download. Suggestion: run yum --enablerepo=saltstack clean metadata
9487
salt_bootstrap_options: -X -x python3 -d git %s
9588
salt_version: '2019.2'
9689
pillars:
@@ -107,6 +100,7 @@ suites:
107100
# Fedora ships updated py2 versions in their own repos
108101
- name: v2019-2-py2
109102
includes:
103+
- centos-7
110104
- fedora-29
111105
provisioner:
112106
salt_version: '2019.2'

0 commit comments

Comments
 (0)