Handle changing working dir in upgrade tests
After SSHClient refactor now it's necessary to track current working dir Change-Id: Ia2ebfd04ee0a77f26e2589d31978f5db8c69e064 Partial-bug:1606466
This commit is contained in:
parent
e21c9a6099
commit
ce44b247c0
@ -431,12 +431,12 @@ class DataDrivenUpgradeBase(TestBasic):
|
|||||||
"git clone https://github.com/"
|
"git clone https://github.com/"
|
||||||
"openstack/fuel-plugin-detach-database",
|
"openstack/fuel-plugin-detach-database",
|
||||||
|
|
||||||
"cd fuel-plugin-detach-database",
|
"cd fuel-plugin-detach-database && "
|
||||||
"git checkout stable/{}".format(settings.UPGRADE_FUEL_FROM),
|
"git checkout stable/{branch} && "
|
||||||
|
"fpb --build . && "
|
||||||
"fpb --build . ",
|
|
||||||
"fuel plugins --install *.rpm "
|
"fuel plugins --install *.rpm "
|
||||||
"--user {user} --password {pwd}".format(
|
"--user {user} --password {pwd}".format(
|
||||||
|
branch=settings.UPGRADE_FUEL_FROM,
|
||||||
user=settings.KEYSTONE_CREDS['username'],
|
user=settings.KEYSTONE_CREDS['username'],
|
||||||
pwd=settings.KEYSTONE_CREDS['password'])]
|
pwd=settings.KEYSTONE_CREDS['password'])]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user