diskimage-builder/tests
Ian Wienand f0b70211c6 Use local mirror for ubuntu-minimal jobs
This adds "openstack-ci-mirrors" element which performs various
settings to get builds using local mirrors.  As a first step, we
convert ubuntu-minimal jobs

The main trick is that since infra mirrors are created with rerepo
they are not signed (they are recreated, not cloned, and not signing
is seen as a feature in that it deters external use).  So we need to
instruct debootstrap to ignore signing and also turn it off for
in-chroot apt.  Other than that, the existing DIB_DISTRIBUTION_MIRROR
works to redirect installs.

Remove "restricted" as it's not mirrored, and I don't think we want it
in here by default.

(I think DIB_DISTRIBUTION_MIRROR is a bit of an anti-pattern, because
it leaves the mirrors in the final image -- just because you use them
to build, doesn't mean you want them at runtime).  But we don't need
to fix that now, and we don't use any created images.)

This pauses fedora testing until the next change, which moves to using
local mirrors for testing on fedora/centos

Change-Id: I778bd05a1e615c27edf1c9f0a1409119a6b3a850
2017-06-21 12:01:31 +10:00
..
elements/fake-os tests/elements/fake-os: add '/tmp' as top level dir 2016-05-13 11:17:42 +10:00
install_test_deps.sh Adjust package installation for openSUSE 2017-05-31 14:35:34 +02:00
README.rst Rework functional test runner 2016-02-19 13:50:09 +11:00
run_dib_library_tests.sh Ignore missing path in unmount_dir 2017-04-06 10:08:13 -04:00
run_functests.sh Use local mirror for ubuntu-minimal jobs 2017-06-21 12:01:31 +10:00
run_output_format_test.sh Remove use of 'which'. 2017-05-19 12:43:36 -07:00

DIB Testing
===========

There are several interfaces for testing various parts of DIB

 * run_dib_library_tests.sh : run unit-tests for internal
     diskimage-builder library functions

 * run_functests.sh : run functional testing provided by elements

 * run_output_format_test.sh : run a test of image conversion
     (requires docker)