Merge "Update the cirros version to 0.5.1"
This commit is contained in:
commit
6e3113cae2
@ -84,14 +84,14 @@ class openstack_integration::provision (
|
||||
container_format => 'bare',
|
||||
disk_format => 'qcow2',
|
||||
is_public => 'yes',
|
||||
source => '/tmp/openstack/image/cirros-0.4.0-x86_64-disk.img'
|
||||
source => '/tmp/openstack/image/cirros-0.5.1-x86_64-disk.img'
|
||||
}
|
||||
glance_image { 'cirros_alt':
|
||||
ensure => present,
|
||||
container_format => 'bare',
|
||||
disk_format => 'qcow2',
|
||||
is_public => 'yes',
|
||||
source => '/tmp/openstack/image/cirros-0.4.0-x86_64-disk.img'
|
||||
source => '/tmp/openstack/image/cirros-0.5.1-x86_64-disk.img'
|
||||
}
|
||||
Keystone_user_role['admin@openstack'] -> Glance_image<||>
|
||||
}
|
||||
|
@ -259,7 +259,7 @@ class openstack_integration::tempest (
|
||||
image_alt_ssh_user => 'cirros',
|
||||
# TODO(emilien) optimization by 1/ using Hiera to configure Glance image source
|
||||
# and 2/ if running in the gate, use /home/jenkins/cache/files/ cirros image.
|
||||
img_file => '/tmp/openstack/image/cirros-0.4.0-x86_64-disk.img',
|
||||
img_file => '/tmp/openstack/image/cirros-0.5.1-x86_64-disk.img',
|
||||
compute_build_interval => 10,
|
||||
ca_certificates_file => $::openstack_integration::params::ca_bundle_cert_path,
|
||||
manage_tests_packages => true,
|
||||
|
@ -135,13 +135,13 @@ if [[ ! -e $IMG_DIR ]]; then
|
||||
mkdir -p $IMG_DIR
|
||||
fi
|
||||
|
||||
if [ -f ~/cache/files/cirros-0.4.0-x86_64-disk.img ]; then
|
||||
if [ -f ~/cache/files/cirros-0.5.1-x86_64-disk.img ]; then
|
||||
# Create a symlink for tempest.
|
||||
if ! [ -h /tmp/openstack/image/cirros-0.4.0-x86_64-disk.img ] ; then
|
||||
ln -s ~/cache/files/cirros-0.4.0-x86_64-disk.img $IMG_DIR
|
||||
if ! [ -h /tmp/openstack/image/cirros-0.5.1-x86_64-disk.img ] ; then
|
||||
ln -s ~/cache/files/cirros-0.5.1-x86_64-disk.img $IMG_DIR
|
||||
fi
|
||||
else
|
||||
wget http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img -P $IMG_DIR
|
||||
wget http://download.cirros-cloud.net/0.5.1/cirros-0.5.1-x86_64-disk.img -P $IMG_DIR
|
||||
fi
|
||||
|
||||
install_puppet
|
||||
|
Loading…
Reference in New Issue
Block a user