tests: add docker environment variables to tox.ini

This allows us to control the docker registry, image name and tag name
for the containers.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1417/head
Andrew Schoen 2017-04-06 10:29:16 -05:00
parent e04bfdc4f0
commit 16e889c30a
1 changed files with 4 additions and 1 deletions

View File

@ -118,7 +118,10 @@ commands=
"ceph_dev_branch":"{env:CEPH_DEV_BRANCH:master}",\ "ceph_dev_branch":"{env:CEPH_DEV_BRANCH:master}",\
"ceph_dev_sha1":"{env:CEPH_DEV_SHA1:latest}",\ "ceph_dev_sha1":"{env:CEPH_DEV_SHA1:latest}",\
"ceph_stable_release":"{env:CEPH_STABLE_RELEASE:jewel}",\ "ceph_stable_release":"{env:CEPH_STABLE_RELEASE:jewel}",\
"ceph_stable":{env:CEPH_STABLE:true}\ "ceph_stable":{env:CEPH_STABLE:true},\
"ceph_docker_registry":"{env:CEPH_DOCKER_REGISTRY:docker.io}",\
"ceph_docker_image":"{env:CEPH_DOCKER_IMAGE:ceph/daemon}",\
"ceph_docker_image_tag":"{env:CEPH_DOCKER_IMAGE_TAG:latest}"\
\}' \}'
ansible-playbook -vv -i {changedir}/hosts {toxinidir}/tests/functional/setup.yml ansible-playbook -vv -i {changedir}/hosts {toxinidir}/tests/functional/setup.yml