Fix grenade runs which don't use tempest
A bug was reported for a grenade job that doesn't use tempest. Fix is to check for existence of tempest.conf file before copying it. Change-Id: I3a79347c8d5b84ea756e7571d0216384fbf2a05e Closes-Bug: #1651767
This commit is contained in:
parent
2dfc5e7a48
commit
192234dea9
@ -78,9 +78,15 @@ if $(source $BASE_DEVSTACK_DIR/stackrc; is_service_enabled neutron); then
|
|||||||
Q_L3_ENABLED="True"
|
Q_L3_ENABLED="True"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install_tempest_plugins
|
if [[ -f $BASE_RELEASE_DIR/tempest/etc/tempest.conf ]]; then
|
||||||
# Use the same config to target smoke tests.
|
# Use the same config to target smoke tests.
|
||||||
cp $BASE_RELEASE_DIR/tempest/etc/tempest.conf $TARGET_RELEASE_DIR/tempest/etc/tempest.conf
|
cp $BASE_RELEASE_DIR/tempest/etc/tempest.conf $TARGET_RELEASE_DIR/tempest/etc/tempest.conf
|
||||||
|
else
|
||||||
|
configure_tempest
|
||||||
|
fi
|
||||||
|
|
||||||
|
install_tempest_plugins
|
||||||
|
|
||||||
DEST=$DEST_BACKUP
|
DEST=$DEST_BACKUP
|
||||||
|
|
||||||
set +o xtrace
|
set +o xtrace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user