Skip to content

Commit 821deb9

Browse files
Merge pull request #228 from myii/chore/ci-enable-py2-centos-7
ci(kitchen+travis): use `py2` instead of `py3` for `centos-7`
2 parents c24d2b6 + 2f6a7d4 commit 821deb9

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
@@ -13,7 +13,7 @@ env:
1313
matrix:
1414
- INSTANCE: v2019-2-py3-debian-9
1515
- INSTANCE: v2019-2-py3-ubuntu-1804
16-
#- INSTANCE: v2019-2-py3-centos-7
16+
- INSTANCE: v2019-2-py2-centos-7
1717
- INSTANCE: v2019-2-py2-fedora-29
1818

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

kitchen.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,7 @@ suites:
6262
includes:
6363
- debian-9
6464
- ubuntu-18.04
65-
- centos-7
6665
provisioner:
67-
# If we don't force bootstrapping with python3, centos bootstraps using python2
68-
# and then, when switching the repo to python3 and tries to install
69-
# the packages, complains with
70-
# Downloading packages:
71-
# https://repo.saltstack.com/py3/re.........rpm: [Errno -1] Package does not
72-
# match intended download. Suggestion: run yum --enablerepo=saltstack clean metadata
7366
salt_bootstrap_options: -X -x python3 -d git %s
7467
salt_version: '2019.2'
7568
pillars:
@@ -87,6 +80,7 @@ suites:
8780
# Fedora ships updated py2 versions in their own repos
8881
- name: v2019-2-py2
8982
includes:
83+
- centos-7
9084
- fedora-29
9185
provisioner:
9286
salt_version: '2019.2'

0 commit comments

Comments
 (0)