Update Fedora image ref for test jobs
Fedora-Cloud-Base-29-1.2.x86_64 is removed from openstack local mirror. Update to use Fedora-Cloud-Base-30-1.2.x86_64 for test jobs. Change-Id: Id3026a115e3a044b3dc00030fd6d82549dc189b6
This commit is contained in:
parent
c739be7645
commit
c61170e4e8
@ -78,7 +78,7 @@
|
||||
minimal_image_ref: ${DEFAULT_IMAGE_NAME:-cirros-0.3.6-x86_64-disk}
|
||||
instance_type: m1.heat_int
|
||||
minimal_instance_type: m1.heat_micro
|
||||
image_ref: Fedora-Cloud-Base-29-1.2.x86_64
|
||||
image_ref: Fedora-Cloud-Base-30-1.2.x86_64
|
||||
hidden_stack_tag: hidden
|
||||
heat_config_notify_script: /opt/stack/heat-agents/heat-config/bin/heat-config-notify
|
||||
boot_config_env: /opt/stack/heat-templates/hot/software-config/boot-config/test_image_env.yaml
|
||||
|
@ -472,9 +472,9 @@ function configure_tempest_for_heat {
|
||||
if [[ -e /etc/ci/mirror_info.sh ]]; then
|
||||
source /etc/ci/mirror_info.sh
|
||||
fi
|
||||
export HEAT_TEST_FEDORA_IMAGE=${NODEPOOL_FEDORA_MIRROR:-https://download.fedoraproject.org/pub/fedora/linux}/releases/29/Cloud/x86_64/images/Fedora-Cloud-Base-29-1.2.x86_64.qcow2
|
||||
export HEAT_TEST_FEDORA_IMAGE=${NODEPOOL_FEDORA_MIRROR:-https://download.fedoraproject.org/pub/fedora/linux}/releases/30/Cloud/x86_64/images/Fedora-Cloud-Base-30-1.2.x86_64.qcow2
|
||||
TOKEN=$(openstack token issue -c id -f value)
|
||||
local image_exists=$( openstack image list | grep "Fedora-Cloud-Base-29-1.2.x86_64" )
|
||||
local image_exists=$( openstack image list | grep "Fedora-Cloud-Base-30-1.2.x86_64" )
|
||||
if [[ -z $image_exists ]]; then
|
||||
if is_service_enabled g-api; then
|
||||
upload_image $HEAT_TEST_FEDORA_IMAGE $TOKEN
|
||||
|
@ -30,4 +30,4 @@ openstack flavor delete m1.heat_int
|
||||
openstack flavor delete m1.heat_micro
|
||||
|
||||
# delete the image created
|
||||
openstack image delete Fedora-Cloud-Base-29-1.2.x86_64
|
||||
openstack image delete Fedora-Cloud-Base-30-1.2.x86_64
|
||||
|
@ -46,7 +46,7 @@ function _config_iniset {
|
||||
iniset $conf_file heat_plugin instance_type m1.heat_int
|
||||
iniset $conf_file heat_plugin minimal_instance_type m1.heat_micro
|
||||
|
||||
iniset $conf_file heat_plugin image_ref Fedora-Cloud-Base-29-1.2.x86_64
|
||||
iniset $conf_file heat_plugin image_ref Fedora-Cloud-Base-30-1.2.x86_64
|
||||
iniset $conf_file heat_plugin minimal_image_ref $default_image_name
|
||||
iniset $conf_file heat_plugin hidden_stack_tag hidden
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user