]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Test ansible 2.4.1 2090/head
authorSébastien Han <seb@redhat.com>
Mon, 23 Oct 2017 10:03:01 +0000 (12:03 +0200)
committerSébastien Han <seb@redhat.com>
Fri, 27 Oct 2017 13:20:13 +0000 (15:20 +0200)
We now test with Ansible 2.4. We had to change testinfra's version since
only recent versions work with 2.4. See:
https://github.com/philpep/testinfra/issues/249

Closes: https://github.com/ceph/ceph-ansible/issues/2087
Signed-off-by: Sébastien Han <seb@redhat.com>
tests/requirements.txt
tox.ini

index c94c6243bc25cbfa408300821ce68a7e84426677..8ead7edab3277227927bbc3eccf65539e513f032 100644 (file)
@@ -1,5 +1,4 @@
 # These are Python requirements needed to run the functional tests
-# 1.6.1 fails with 'testinfra is in an unsupported or invalid wheel'
-# see https://github.com/philpep/testinfra/issues/201
-testinfra==1.6.0
+# testinfra < 1.7.1 does not work Ansible 2.4, see https://github.com/philpep/testinfra/issues/249
+testinfra==1.7.1
 pytest-xdist
diff --git a/tox.ini b/tox.ini
index 464da93a500d9b7f1c48d25e77741cf68d818340..cd0362635687783fb9dc22eea2a757af31d75b94 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -149,6 +149,7 @@ setenv=
 deps=
   ansible2.2: ansible==2.2.3
   ansible2.3: ansible==2.3.1
+  ansible2.4: ansible==2.4.1
   -r{toxinidir}/tests/requirements.txt
 changedir=
   # tests a 1 mon, 1 osd, 1 mds and 1 rgw xenial cluster using non-collocated OSD scenario