1d29d8bcf7
Add uec image preparation to lib/tempest. cirros as image is hard coded at the moment. If the images does not exists or the system is not able to use uec images the image prepare step will be skipped and tempest will skip the related tests as well. Setting ssh username correctly. Setting instance type for the boto test. Change-Id: I0d36ac7834e1eb677007e2c92dfc375d134a6023
22 lines
446 B
Bash
22 lines
446 B
Bash
# tempest.sh - DevStack extras script
|
|
|
|
source $TOP_DIR/lib/tempest
|
|
|
|
if [[ "$1" == "stack" ]]; then
|
|
# Configure Tempest last to ensure that the runtime configuration of
|
|
# the various OpenStack services can be queried.
|
|
if is_service_enabled tempest; then
|
|
echo_summary "Configuring Tempest"
|
|
install_tempest
|
|
configure_tempest
|
|
init_tempest
|
|
fi
|
|
fi
|
|
|
|
if [[ "$1" == "unstack" ]]; then
|
|
# no-op
|
|
:
|
|
fi
|
|
|
|
|