Only init a workspace if doesn't exists
The fix workspace path[1] executes the init regardless, but to make it work in an upgrade from rocky to queens we should just move the path of an existent workspace [1] https://review.openstack.org/#/c/627782/ Change-Id: I9bdea50be389815f3e8dbe6a42e7628f7b40f9b6
This commit is contained in:
parent
cc7086298c
commit
1084cd9954
|
@ -52,8 +52,9 @@
|
|||
if ! tempest workspace list | grep -w {{ tempest_workspace }}; then
|
||||
tempest workspace move --name workspace --path {{ tempest_workspace }}
|
||||
fi
|
||||
else
|
||||
tempest init {{ tempest_workspace }}
|
||||
fi
|
||||
tempest init {{ tempest_workspace }}
|
||||
exit 3
|
||||
fi
|
||||
args:
|
||||
|
|
Loading…
Reference in New Issue