From 029ec6e96302a440a3cc288d8c8ab1b2c4f33673 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Thu, 18 Feb 2021 14:11:31 +0000 Subject: [PATCH] Add bind mount of /opt/cache/files to all containers in CI This is needed so that the task which downloads the cirros image in the utility container for LXC jobs will find the cached image in /opt/cache/files. Change-Id: If4402ef877f8b627237b6e9016089c134be72da5 --- 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 b7643ea3c3..4583788730 100644 --- a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 +++ b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 @@ -232,6 +232,8 @@ lxc_container_backing_store: "{{ lxc_container_backing_store }}" lxc_container_bind_mounts: - host_directory: "/home/zuul/src" container_directory: "/openstack/src" + - host_directory: "/opt/cache/files" + container_directory: "/opt/cache/files" ## Always setup tempest, the resources for it, then execute tests tempest_install: yes