xci: scripts: start-new-vm.sh: Use Docker to build OS images 31/43831/6
authorMarkos Chandras <mchandras@suse.de>
Thu, 28 Sep 2017 15:03:01 +0000 (16:03 +0100)
committerMarkos Chandras <mchandras@suse.de>
Mon, 2 Oct 2017 15:18:36 +0000 (16:18 +0100)
commitc51505dc0485b1434c73cdea2b3f98a568fb9110
tree891e531177c7cdcd22f2f8620439d06f71caac96
parent869ae6cb904098b53da9bba010b1a9c95749c05d
xci: scripts: start-new-vm.sh: Use Docker to build OS images

Use a docker container to build the OS images so we can build images and
start new virtual machines on all supported operating systems. This way
all developers can now launch a virtual machine to quickly reproduce
Jenkins results which should assist with debugging problems.

Since the container runs with elevated privileges it's best to ensure
that we have exclusive access to devices. Finally, we remove the
build-dib-os.sh script which is now part of the container itself.

The build image process now becomes more stable since it runs on clean
evnironment all the time so the only external factor is the upstream
distribution repositories.

Change-Id: I6b443192419ee2546a23430f421b152766d16333
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/scripts/vm/build-dib-os.sh [deleted file]
xci/scripts/vm/start-new-vm.sh