Merge "Fix tempest workspace path"
This commit is contained in:
commit
8a463384a2
@ -45,6 +45,14 @@
|
|||||||
if [ -d {{ tempest_venv_bin }} ]; then
|
if [ -d {{ tempest_venv_bin }} ]; then
|
||||||
. {{ tempest_venv_bin }}/activate
|
. {{ tempest_venv_bin }}/activate
|
||||||
fi
|
fi
|
||||||
|
# (guilhermesp) We are adding this conditional here to avoid
|
||||||
|
# breakage when we are upgrade from rocky to stein as the workspace
|
||||||
|
# path has been change between these two releases
|
||||||
|
if tempest workspace list | grep workspace; then
|
||||||
|
if ! tempest workspace list | grep -w {{ tempest_workspace }}; then
|
||||||
|
tempest workspace move --name workspace --path {{ tempest_workspace }}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
tempest init {{ tempest_workspace }}
|
tempest init {{ tempest_workspace }}
|
||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user