From: Alfredo Deza Date: Thu, 1 Nov 2018 12:48:28 +0000 (-0400) Subject: ceph-volume tests install ceph-ansible's requirements.txt dependencies X-Git-Tag: v12.2.10~12^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24960%2Fhead;p=ceph.git ceph-volume tests install ceph-ansible's requirements.txt dependencies Signed-off-by: Alfredo Deza (cherry picked from commit 52ddb69813c5849506db5f850a3f2532ff1124b5) --- diff --git a/src/ceph-volume/ceph_volume/tests/functional/batch/tox.ini b/src/ceph-volume/ceph_volume/tests/functional/batch/tox.ini index 4185657c5a0cf..c2725a09fd062 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/batch/tox.ini +++ b/src/ceph-volume/ceph_volume/tests/functional/batch/tox.ini @@ -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} diff --git a/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini b/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini index 3e451aab57d81..d2432c8a89fa9 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini +++ b/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini @@ -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} diff --git a/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini b/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini index 1e813cedf5d1c..391fb4ae97b9e 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini +++ b/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini @@ -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}