1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 15:45:53 +01:00
Files
bootc/crates/tests-integration
Colin Walters f4c678eb88 Various composefs enhancements
- Change the install logic to detect UKIs and automatically
  enable composefs
- Change the install logic to detect absence of bootupd
  and default to installing systemd-boot
- Move sealing bits to the toplevel
- Add Justfile entrypoints
- Add basic end-to-end CI coverage (install + run) using
  our integration tests
- Change lints to ignore `/boot/EFI`

Signed-off-by: Colin Walters <walters@verbum.org>
2025-10-16 14:48:21 -04:00
..
2025-10-16 14:48:21 -04:00
2025-10-16 14:48:21 -04:00

Integration tests crate

This crate holds integration tests (as distinct from the regular Rust unit tests run as part of cargo test).

Building and running

cargo run -p tests-integration will work. Note that at the current time all test suites target an externally built bootc-compatible container image. See how things are set up in e.g. Github Actions, where we first run a podman build with the bootc git sources.

Available suites

composefs-bcvk

Intended only right now to be used with a sealed UKI image, and sanity checks the composefs backend.

host-privileged

This suite will run the target container image in a way that expects full privileges, but is not destructive.

install-alongside

This suite is DESTRUCTIVE, executing the bootc install to-existing-root style flow using the host root. Run it in a transient virtual machine.

system-reinstall

This suite is DESTRUCTIVE, executing the system-reinstall-bootc tests. Run it in a transient virtual machine.