Merge "Add tests for building *-minimal images"

This commit is contained in:
Jenkins 2016-09-01 05:44:03 +00:00 committed by Gerrit Code Review
commit 41c7dd2e56
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 \ inetutils-ping \
lsb-release \ lsb-release \
kpartx \ kpartx \
python-lzma \
qemu-utils \ qemu-utils \
uuid-runtime || \ rpm \
uuid-runtime \
yum-utils || \
sudo yum -y install \ sudo yum -y install \
debootstrap \ debootstrap \
docker \ docker \
@ -22,4 +25,6 @@ sudo apt-get install -y --force-yes \
app-emulation/qemu \ app-emulation/qemu \
dev-python/pyyaml \ dev-python/pyyaml \
sys-block/parted \ 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 # good to have the test case around - but because of changes
# in testing does not work always. # in testing does not work always.
debian-minimal/testing-build-succeeds debian-minimal/testing-build-succeeds
# Currently failing due to bug in locale generation
centos-minimal/build-succeeds
) )
# run_disk_element_test <test_element> <element> # run_disk_element_test <test_element> <element>