Merge "Fix tempest workspace path"
This commit is contained in:
commit
8a463384a2
|
@ -45,7 +45,15 @@
|
||||||
if [ -d {{ tempest_venv_bin }} ]; then
|
if [ -d {{ tempest_venv_bin }} ]; then
|
||||||
. {{ tempest_venv_bin }}/activate
|
. {{ tempest_venv_bin }}/activate
|
||||||
fi
|
fi
|
||||||
tempest init {{ tempest_workspace }}
|
# (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 }}
|
||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
args:
|
args:
|
||||||
|
|
Loading…
Reference in New Issue