Skip to content

A few prep patches for https://github.com/bootc-dev/bootc/pull/2290 - #2454

Open
cgwalters wants to merge 3 commits into
bootc-dev:mainfrom
cgwalters:prep-2290
Open

A few prep patches for https://github.com/bootc-dev/bootc/pull/2290#2454
cgwalters wants to merge 3 commits into
bootc-dev:mainfrom
cgwalters:prep-2290

Conversation

@cgwalters

Copy link
Copy Markdown
Collaborator

The big one is moving CI to 26.04, see bootc-dev/actions#53 which tries to hack around this on 24.04 but it really feels cleaner to just jump straight to 26.04.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The repository-wide runner migration and command-capture change require completed CI and final human validation.

Pull request overview

Prepares CI and test infrastructure for PR #2290.

Changes:

  • Captures command output with memfd.
  • Migrates CI to Ubuntu 26.04 and pins Python 3.12.
  • Applies boot context during TMT plan discovery.
File summaries
File Description
.github/actions/install-tmt/action.yml Configures Python 3.12 for TMT.
.github/workflows/ci.yml Migrates CI jobs to Ubuntu 26.04.
crates/utils/Cargo.toml Moves tempfile to development dependencies.
crates/utils/src/command.rs Replaces temporary output files with memfd.
crates/xtask/src/tmt.rs Adds context-aware TMT plan discovery.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

In what turns out to be a GIANT trap, systemd generators on
RHEL9 may run before a writable /tmp is available.

Assisted-by: https://github.com/cgwalters/cgwalters#llms
Signed-off-by: Colin Walters <walters@verbum.org>
Use the native QEMU stack containing the virtiofs notifier-ordering fix,
rather than mixing newer emulator packages into an older runner. Keep
TMT on the Python 3.12 runtime used for validation.

Requires Ubuntu setup to select the native QEMU package on 26.04.

Generated-by: AI
Signed-off-by: Colin Walters <walters@verbum.org>
FMF adjustments need the boot type and seal state during plan discovery,
not only during execution. Honor disabled plans before provisioning a VM
so unsupported test variants can be excluded through existing metadata.

Keep an unspecified seal state distinct from an explicitly unsealed one.

Generated-by: AI
Signed-off-by: Colin Walters <walters@verbum.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants