You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drop our dependency on cockpit-bots (checked out from its git repository
and requiring libvirt and other heavy dependencies) and switch over to
using test.thing (vendored) via pytest.
We no longer install ssh keys into the images: test.thing generates an
ephemeral key on each run and feeds it into the guest.
Expand examples/README.md to describe how this is all intended to be
used.
Adjust our github workflows appropriately. The systemd version on the
runner isn't new enough to have systemd-ssh-proxy, so install our
polyfill. We also need to make sure the vhost-vsock is accessible to
the user in the same way as /dev/kvm.
Signed-off-by: Allison Karlitskaya <[email protected]>
Copy file name to clipboardExpand all lines: examples/README.md
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,3 +12,45 @@ a verified operating system image.
12
12
-`unified`: similar to the `uki` example, but avoiding the intermediate `cfsctl` step by running `cfsctl` inside a build stage from the `Containerfile` itself.
13
13
This involves bind-mounting the earlier build stage of the base image so that we can measure it from inside the stage that builds the UKI.
14
14
-`unified-secureboot`: based on the `unified` example, adding signing for Secure Boot.
15
+
16
+
## Using the examples
17
+
18
+
The main use of the examples is to act as a scratch space for feature
19
+
development (like initramfs integration) and to show how you can build a system
20
+
image in various configurations using composefs. They are also run from CI and
21
+
are very useful for local testing, however.
22
+
23
+
You can build the various images using the `build` script found in each
24
+
subdirectory. It takes a single argument: the OS to build the image from
25
+
(`fedora`, `rawhide`, `arch`, `ubuntu`, `rhel9`, etc.). You should not build
26
+
multiple images in parallel due to conflicting feature flags and shared use of
27
+
the tmp/ directory. After the image is built, you can run tests against it by
0 commit comments