Commit 15ed73f8 authored by Dan Radez's avatar Dan Radez

updating prebuilt images

- switching to updated source from RDO project
- adding md5sum check

Change-Id: Ib7b7172596ae38522694090529e81db3cc7ff03d
parent 6306d6de
......@@ -16,14 +16,9 @@ CACHECLEAN := $(addsuffix .clean,$(CACHEFILES) $(CACHEDIRS))
# BEGIN of variables to customize
#
CACHEFILES += .versions
CACHEFILES += stack/deploy-ramdisk-ironic.initramfs
CACHEFILES += stack/deploy-ramdisk-ironic.kernel
CACHEFILES += stack/ironic-python-agent.initramfs
CACHEFILES += stack/ironic-python-agent.kernel
CACHEFILES += stack/ironic-python-agent.vmlinuz
CACHEFILES += stack/overcloud-full.initrd
CACHEFILES += stack/overcloud-full.qcow2
CACHEFILES += stack/overcloud-full.vmlinuz
CACHEFILES += stack/deploy-ramdisk-ironic.tar
CACHEFILES += stack/ironic-python-agent.tar
CACHEFILES += stack/overcloud-full.tar
CACHEFILES += $(shell basename $(ISOSRC))
#
# END of variables to customize
......
......@@ -2,8 +2,10 @@
set -e
declare -i CNT
rdo_images_uri=https://ci.centos.org/artifacts/rdo/images/liberty/delorean/stable
vm_index=4
RDO_RELEASE=kilo
RDO_RELEASE=liberty
SSH_OPTIONS=(-o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null)
# check for dependancy packages
......@@ -187,13 +189,17 @@ sudo cp /var/lib/libvirt/images/instack.qcow2 ./instack.qcow2
# pull down the the built images
echo "Copying overcloud resources"
IMAGES="deploy-ramdisk-ironic.initramfs deploy-ramdisk-ironic.kernel"
IMAGES+=" ironic-python-agent.initramfs ironic-python-agent.kernel ironic-python-agent.vmlinuz"
IMAGES+=" overcloud-full.initrd overcloud-full.qcow2 overcloud-full.vmlinuz"
IMAGES="deploy-ramdisk-ironic.tar"
IMAGES+=" ironic-python-agent.tar"
IMAGES+=" overcloud-full.tar"
#IMAGES+="undercloud.qcow2"
for i in $IMAGES; do
# download prebuilt images from RDO Project
curl https://repos.fedorapeople.org/repos/openstack-m/rdo-images-centos-liberty/$i -z stack/$i -o stack/$i --verbose --silent --location
if [ "$(curl -L $rdo_images_uri/${i}.md5 | awk {'print $1'})" != "$(md5sum stack/$i | awk {'print $1'})" ] ; then
curl https://ci.centos.org/artifacts/rdo/images/liberty/delorean/stable/$i -o stack/$i --verbose --silent --location
fi
tar -xf stack/$i -C stack/
done
#Adding OpenDaylight to overcloud
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment