Skip to content
Commit e324a7ad authored by Richard Neill's avatar Richard Neill Committed by Diego Sueiro
Browse files

ewaol-tests: Add meta-ewaol-tests layer with OCI container integration tests



Adds the meta-ewaol-tests layer to support the validation of images built for
the EWAOL project.

This patch adds Bats-based runtime integration testing for OCI containers. The
integration tests are provided via the oci-runtime-integration-tests.bb recipe.
This recipe deploys tests to validate the ability for a container to execute an
example persistent workload, which involves the pulling of an image from an
image hub on the network, the creation and start of a detached container, and
its subsequent stop and removal.

The tests are made available to run with a standalone shell script via the
run-oci-runtime-integration-tests binary, and as a suite integrated with the
Yocto Package Test (ptest) framework using ptest-runner.

The tests can be included in the build by appending 'ewaol-test' to the build
configuration's DISTRO_FEATURES. A build configuration file
meta-ewaol-config/kas/tests.yml is included to support this inclusion via the
kas build tool.

Issue-Id: SCM-2357
Signed-off-by: Richard Neill's avatarRichard Neill <richard.neill@arm.com>
Signed-off-by: Diego Sueiro's avatarDiego Sueiro <diego.sueiro@arm.com>
Change-Id: I2659e27fca12ae2cf9b9d0cd13041eafced7ebe1
parent 2662f5fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment