Add test-distro.sh

test-distro.sh allows us to manually run all CI-tested packages through
a new Docker base image. This enables updating the base image without
too much hassle (short of fixing all the compile/test failures).

The Jenkins configuration file from [0] should be passed through the
--config option. Alternatively, individual repositories can be tested by
passing the --repository option and pointing to a local clone of
interest.

[0] https://openpower.xyz/job/openbmc-repository-ci/config.xml

Tested: Ran `DISTRO=ubuntu:artful ./test-distro` to verify packages.
Despite some test failures in the packages tested, the script worked as
expected.

Change-Id: Iebf57ae59a25cb12cd11cf40083ec0647224b60c
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
1 file changed