Add tests for building *-minimal images

Lets make sure these images can be built.

Change-Id: Idbd07b98c0181738d002a53373425e056390beea
This commit is contained in:
Gregory Haynes 2015-05-07 21:49:09 +00:00
parent c20a42051a
commit a1bfca6022
6 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1 @@
Verify we can build a centos-minimal image.

View File

@ -0,0 +1 @@
Verify we can build a fedora-minimal image.

View File

@ -0,0 +1,2 @@
# Pin to this mirror because the roundrobin is fairly unreliable
export DIB_DISTRIBUTION_MIRROR=http://dl.fedoraproject.org/pub/fedora/linux

View File

@ -0,0 +1 @@
Verify we can build a ubuntu-minimal image.

View File

@ -11,8 +11,11 @@ sudo apt-get install -y --force-yes \
inetutils-ping \
lsb-release \
kpartx \
python-lzma \
qemu-utils \
uuid-runtime || \
rpm \
uuid-runtime \
yum-utils || \
sudo yum -y install \
debootstrap \
docker \
@ -22,4 +25,6 @@ sudo apt-get install -y --force-yes \
app-emulation/qemu \
dev-python/pyyaml \
sys-block/parted \
sys-fs/multipath-tools
sys-fs/multipath-tools \
qemu-img \
yum-utils

View File

@ -21,6 +21,8 @@ DEFAULT_SKIP_TESTS=(
# good to have the test case around - but because of changes
# in testing does not work always.
debian-minimal/testing-build-succeeds
# Currently failing due to bug in locale generation
centos-minimal/build-succeeds
)
# run_disk_element_test <test_element> <element>