From 1930244bd8e3c6c274b3e57d810cb29702d3de9d Mon Sep 17 00:00:00 2001 From: Chandan Kumar Date: Wed, 6 Mar 2019 16:01:08 +0530 Subject: [PATCH] Set tempest_image_dir to /opt/cache/files in openstack CI https://review.openstack.org/#/c/640742 fix tempest_image_dir default var to user's home tempest-image dir. But in OpenStack CI, the cirros image is cached already and we can use the same path and reuse the downloaded image. Change-Id: If21e19ad436178bab30059a5637885e1dc8ec85b --- tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 index cfb081b64c..e1f9c77430 100644 --- a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 +++ b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 @@ -185,6 +185,8 @@ tempest_network_ping_gateway: yes {% if nodepool_dir.stat.exists %} # Disable chronyd in OpenStack CI security_rhel7_enable_chrony: no +# The location where images are downloaded in openstack-infra +tempest_image_dir: "/opt/cache/files" {% endif %} # For testing purposes in public clouds, we need to ignore these