Merge "Allow heat tests to use already uploaded test image"
This commit is contained in:
commit
d15512431b
@ -293,7 +293,9 @@ function configure_tempest() {
|
|||||||
iniset $TEMPEST_CONF boto ssh_user ${DEFAULT_INSTANCE_USER:-cirros}
|
iniset $TEMPEST_CONF boto ssh_user ${DEFAULT_INSTANCE_USER:-cirros}
|
||||||
|
|
||||||
# Orchestration test image
|
# Orchestration test image
|
||||||
if [[ "$HEAT_CREATE_TEST_IMAGE" = "True" ]]; then
|
if [[ ! -z "$HEAT_FETCHED_TEST_IMAGE" ]]; then
|
||||||
|
iniset $TEMPEST_CONF orchestration image_ref "$HEAT_FETCHED_TEST_IMAGE"
|
||||||
|
elif [[ "$HEAT_CREATE_TEST_IMAGE" = "True" ]]; then
|
||||||
disk_image_create /usr/share/tripleo-image-elements "vm fedora heat-cfntools" "i386" "fedora-vm-heat-cfntools-tempest"
|
disk_image_create /usr/share/tripleo-image-elements "vm fedora heat-cfntools" "i386" "fedora-vm-heat-cfntools-tempest"
|
||||||
iniset $TEMPEST_CONF orchestration image_ref "fedora-vm-heat-cfntools-tempest"
|
iniset $TEMPEST_CONF orchestration image_ref "fedora-vm-heat-cfntools-tempest"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user