1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-05-10 17:37:37 +00:00
kata-containers/tools/osbuilder/tests
David Gibson 3718df69c2 osbuilder: Remove leftover pieces related to cmake
The osbuilder scripts include a bunch of code for installing cmake, even
though cmake is never invoked.  versions.yaml claims it's needed to build
grpc-rs, but that doesn't appear to be in our dependency graph.

Presumably, we used to need this, but don't any more.  So, remove all cmake
references.

Fixes 

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2021-01-23 15:24:25 +11:00
..
README.md osbuilder: move code into tools directory 2020-04-29 16:45:00 -05:00
test_config.sh rootfs-builder: remove EulerOS 2020-04-30 08:27:25 -05:00
test_images.sh osbuilder: Remove leftover pieces related to cmake 2021-01-23 15:24:25 +11:00

Run the osbuilder tests

osbuilder provides a test script that creates all rootfs disk images and initrd images for all supported distributions and then tests them to ensure a Kata Container can be created with each.

Before the build phase, the test script installs the Docker container manager and all the Kata components required to run test containers. Individual tests will also alter host kata-runtime and docker service configuration as needed.

All host config editing can be skipped by setting the environment variable KATA_DEV_MODE to a non-empty value. In this mode, image/initrd targets will be built but not runtime tested; If your host is configured to have kata-runtime set as the default docker runtime, you will need to switch to a runtime like runc/crun so the docker build test commands work correctly.

$ ./test_images.sh

Further information

The test script provides various options to modify the way it runs. For full details:

$ ./test_images.sh -h