cloud-hypervisor/scripts
Sebastien Boeuf 3b43551d98 ci: Use device mapper to avoid copying Windows image
The Windows image is quite large (about 20GiB), hence it takes some time
to copy it for every test in order to avoid potential corruption.

One way to mitigate that without compromising on safety between each
test is by using device mapper. By creating a read-only base, we ensure
the image won't be modified by any of the tests, and by creating one
snapshot for each test, we avoid copying the entire image each time.
A dedicated Copy On Write disk image is created to handle any change
that might be performed on the base image, letting the tests behave as
expected.

Fixes #2155

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2021-01-13 10:48:06 +00:00
..
create-cloud-init.sh ci: Move from Clear Linux to Ubuntu Focal Fossa cloud image 2020-07-02 13:47:16 +02:00
dev_cli.sh scripts: Run test container with the default bridge network 2021-01-11 11:18:48 +00:00
run_cargo_tests.sh scripts: Add an option to accept hypervisor argument 2020-12-05 00:01:41 +01:00
run_integration_tests_aarch64.sh scripts, resources: aarch64: Update to Linux kernel v5.10 base 2021-01-11 12:56:05 +01:00
run_integration_tests_sgx.sh scripts: Add an option to accept hypervisor argument 2020-12-05 00:01:41 +01:00
run_integration_tests_windows.sh ci: Use device mapper to avoid copying Windows image 2021-01-13 10:48:06 +00:00
run_integration_tests_x86_64.sh tests: Update integration tests to use new image without pollinate 2021-01-11 16:38:07 +00:00
run_openapi_tests.sh ci: Add OpenAPI validation 2019-12-11 12:53:31 +00:00
run_unit_tests.sh scripts: Add an option to accept hypervisor argument 2020-12-05 00:01:41 +01:00
sha1sums-aarch64 ci: Remove unused image in sha1sums-aarch64 2020-08-05 08:15:18 +01:00
sha1sums-x86_64 tests: Update integration tests to use new image without pollinate 2021-01-11 16:38:07 +00:00
test-util.sh scripts: Add an option to accept hypervisor argument 2020-12-05 00:01:41 +01:00