Use stackviz tarball from cache directly

The stackviz tarball used to be copied along with other devstack
files in devstack space, but it's not anymore since
1a49f65dd9.

There's actually no point in moving that tarball around, so just
use it from its original cache location directly.

Change-Id: I602507648e17a7d8d06d8f541ba0918b3b972723
This commit is contained in:
Andrea Frittoli (andreaf) 2017-11-18 06:49:14 +00:00
parent b8db7d219e
commit 2190119af6
1 changed files with 3 additions and 1 deletions

View File

@ -509,7 +509,9 @@ function process_stackviz {
local project=$1
local path_prefix=${2:-new}
local stackviz_tarball=$BASE/cache/files/stackviz-latest.tar.gz
# NOTE: the stackviz tarball is precached on images by the cache-devstack
# element. The cache path is fixed: /opt/cache/files
local stackviz_tarball=/opt/cache/files/stackviz-latest.tar.gz
if [ ! -f $stackviz_tarball ]; then
echo "Unable to locate cached stackviz tarball, skipping."
return