Use devstack test-config phase
New phase 'test-config' has been introduced by [0]. 'test-config' is called at the end of devstack used to configure tempest or any other test environments. This patch uses new phase to configure tempest if it is enabled. Reference: [0] https://review.openstack.org/#/c/311797/ Change-Id: I8a6a3aeee89c1c08bfa5e630b1cdd8f8a5fa2007
This commit is contained in:
parent
bc106b56bb
commit
dcd93a58e4
@ -50,7 +50,12 @@ if is_service_enabled ir-api ir-cond; then
|
||||
echo_summary "Starting Ironic"
|
||||
start_ironic
|
||||
prepare_baremetal_basic_ops
|
||||
|
||||
elif [[ "$2" == "test-config" ]]; then
|
||||
# stack/test-config - Called at the end of devstack used to configure tempest
|
||||
# or any other test environments
|
||||
if is_service_enabled tempest; then
|
||||
echo_summary "Configuring Tempest for Ironic needs"
|
||||
ironic_configure_tempest
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user