]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tox: add missing ceph_docker_image_tag in shrink
authorSébastien Han <seb@redhat.com>
Tue, 4 Dec 2018 17:41:36 +0000 (18:41 +0100)
committerSébastien Han <seb@redhat.com>
Tue, 4 Dec 2018 18:01:25 +0000 (19:01 +0100)
When calling shrink on containerized deployment, we were first doing the
setup with `latest-master` and then when calling the playbook we were
using the default value for `ceph_docker_image_tag` that comes from
ceph-defaults. Now we pass
`ceph_docker_image_tag={env:CEPH_DOCKER_IMAGE_TAG:latest-master}` so the
play will run the right container image.

Signed-off-by: Sébastien Han <seb@redhat.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 9b91a434b7fcc6fc9f886f4179be27ba3a4e1537..09fa1dfbdb2fec0b521d8740a36a95f83a285f42 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -120,6 +120,7 @@ commands=
   ansible-playbook -vv -i {changedir}/hosts {toxinidir}/shrink-mon.yml --extra-vars "\
       ireallymeanit=yes \
       mon_to_kill={env:MON_TO_KILL:ceph-mon2} \
+      ceph_docker_image_tag={env:CEPH_DOCKER_IMAGE_TAG:latest-master} \
   "
 [shrink-osd]
 commands=
@@ -127,6 +128,7 @@ commands=
   ansible-playbook -vv -i {changedir}/hosts {toxinidir}/shrink-osd.yml --extra-vars "\
       ireallymeanit=yes \
       osd_to_kill=0 \
+      ceph_docker_image_tag={env:CEPH_DOCKER_IMAGE_TAG:latest-master} \
   "
 
 [switch-to-containers]