Add a basic README explaining the containers and how people can use them to locally test with if they see an error in CI and want to reproduce it locally.
Signed-off-by: Doug Goldstein <car...@cardoe.com> --- extras/testing/README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 extras/testing/README.md diff --git a/extras/testing/README.md b/extras/testing/README.md new file mode 100644 index 0000000..0908a66 --- /dev/null +++ b/extras/testing/README.md @@ -0,0 +1,29 @@ +Docker Containers +================= + +These Docker containers should make it possible to build Xen in +any of the available environments on any system that supports +running Docker. They are organized by distro and tagged with +the version of that distro. They are available from the GitLab +Container Registry under the Xen project at: + +registry.gitlab.com/cardoe/xen/DISTRO:VERSION + +The available ones are: +- centos:7.2 +- debian:jessie +- ubuntu:trusty +- ubuntu:xenial + +To Build Xen +------------ + +From the top level of the source tree it should be possible to +run the following: + +docker run --rm -it -v $(PWD):/build -u $(id -u) -e CC=gcc $(CONTAINER) make + +There are other modifications that can be made but this will run +the `make` command inside the specified container. It will use your +currently checked out source tree to build with, ensure that file +permissions remain consistent and clean up after itself. -- git-series 0.9.1 _______________________________________________ Xen-devel mailing list Xenemail@example.com https://lists.xenproject.org/mailman/listinfo/xen-devel