]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: specify docker params for shrink-osd
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 29 Jan 2019 09:42:57 +0000 (10:42 +0100)
committerSébastien Han <seb@redhat.com>
Wed, 30 Jan 2019 13:58:59 +0000 (14:58 +0100)
Otherwise, it will go with the default values, eg:

"latest" for `ceph_docker_image_tag`

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 51a4092b810b76f10da9785bb41b1d7fb53529d1..081c4feebbafc51747e66621c9d35a20f0ef8375 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -126,6 +126,9 @@ commands=
 commands=
   cp {toxinidir}/infrastructure-playbooks/shrink-osd.yml {toxinidir}/shrink-osd.yml
   ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/shrink-osd.yml --extra-vars "\
+      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-luminous} \
       ireallymeanit=yes \
       osd_to_kill=0 \
   "