]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume tests install ceph-ansible's requirements.txt dependencies 24960/head
authorAlfredo Deza <adeza@redhat.com>
Thu, 1 Nov 2018 12:48:28 +0000 (08:48 -0400)
committerAlfredo Deza <alfredo@deza.pe>
Tue, 6 Nov 2018 21:29:44 +0000 (16:29 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 52ddb69813c5849506db5f850a3f2532ff1124b5)

src/ceph-volume/ceph_volume/tests/functional/batch/tox.ini
src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini
src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini

index 4185657c5a0cf1c02005c9f3344777df9a411da1..c2725a09fd0625964a5cb9962fca3a0dd720dcfe 100644 (file)
@@ -17,11 +17,6 @@ setenv=
   ANSIBLE_SSH_RETRIES = 5
   VAGRANT_CWD = {changedir}
   CEPH_VOLUME_DEBUG = 1
-deps=
-  ansible~=2.6,<2.7
-  testinfra
-  pytest-xdist
-  notario>=0.0.13
 changedir=
   centos7-filestore-single_type: {toxinidir}/centos7/filestore/single-type
   centos7-filestore-single_type_dmcrypt: {toxinidir}/centos7/filestore/single-type-dmcrypt
@@ -37,6 +32,7 @@ changedir=
   xenial-bluestore-single_type_dmcrypt: {toxinidir}/xenial/bluestore/single-type-dmcrypt
 commands=
   git clone -b {env:CEPH_ANSIBLE_BRANCH:master} --single-branch https://github.com/ceph/ceph-ansible.git {envdir}/tmp/ceph-ansible
+  pip install -r {envdir}/tmp/ceph-ansible/tests/requirements.txt
 
   bash {toxinidir}/../scripts/vagrant_up.sh {env:VAGRANT_UP_FLAGS:"--no-provision"} {posargs:--provider=virtualbox}
   bash {toxinidir}/../scripts/generate_ssh_config.sh {changedir}
index 3e451aab57d8125948b1b02097d427e21fe4b61b..d2432c8a89fa9938934e1ef3b51f81f5322cedef 100644 (file)
@@ -18,11 +18,6 @@ setenv=
   ANSIBLE_SSH_RETRIES = 5
   VAGRANT_CWD = {changedir}
   CEPH_VOLUME_DEBUG = 1
-deps=
-  ansible~=2.6,<2.7
-  testinfra
-  pytest-xdist
-  notario>=0.0.13
 changedir=
   # plain/unencrypted
   centos7-filestore-create: {toxinidir}/centos7/filestore/create
@@ -42,9 +37,7 @@ changedir=
   centos7-bluestore-prepare_activate: {toxinidir}/xenial/bluestore/prepare_activate
 commands=
   git clone -b {env:CEPH_ANSIBLE_BRANCH:master} --single-branch https://github.com/ceph/ceph-ansible.git {envdir}/tmp/ceph-ansible
-  # XXX Ideally we should be able to consume the requirements for ceph-ansible directly,
-  # but the master branch doesn't pin dependencies so we can't guarantee to work correctly
-  #pip install -r {envdir}/tmp/ceph-ansible/requirements.txt
+  pip install -r {envdir}/tmp/ceph-ansible/tests/requirements.txt
 
   bash {toxinidir}/../scripts/vagrant_up.sh {env:VAGRANT_UP_FLAGS:"--no-provision"} {posargs:--provider=virtualbox}
   bash {toxinidir}/../scripts/generate_ssh_config.sh {changedir}
index 1e813cedf5d1c07d0189f181e041da5adfda3a1f..391fb4ae97b9eb2a6bd057703f89ce1dac7d5140 100644 (file)
@@ -18,11 +18,6 @@ setenv=
   ANSIBLE_SSH_RETRIES = 5
   VAGRANT_CWD = {changedir}
   CEPH_VOLUME_DEBUG = 1
-deps=
-  ansible~=2.6,<2.7
-  testinfra
-  pytest-xdist
-  notario>=0.0.13
 changedir=
   centos7-filestore-activate: {toxinidir}/centos7/filestore/activate
   centos7-bluestore-activate: {toxinidir}/centos7/bluestore/activate
@@ -38,9 +33,7 @@ changedir=
   centos7-filestore-dmcrypt_luks: {toxinidir}/centos7/filestore/dmcrypt-luks
 commands=
   git clone -b {env:CEPH_ANSIBLE_BRANCH:master} --single-branch https://github.com/ceph/ceph-ansible.git {envdir}/tmp/ceph-ansible
-  # XXX Ideally we should be able to consume the requirements for ceph-ansible directly,
-  # but the master branch doesn't pin dependencies so we can't guarantee to work correctly
-  #pip install -r {envdir}/tmp/ceph-ansible/requirements.txt
+  pip install -r {envdir}/tmp/ceph-ansible/tests/requirements.txt
 
   bash {toxinidir}/../scripts/vagrant_up.sh {env:VAGRANT_UP_FLAGS:"--no-provision"} {posargs:--provider=virtualbox}
   bash {toxinidir}/../scripts/generate_ssh_config.sh {changedir}