Skip to content

Expose bootc version (backport #294) - #301

Merged
alicefr merged 4 commits into
release-0.2from
mergify/bp/release-0.2/pr-294
Nov 10, 2026
Merged

alicefr merged 4 commits into
release-0.2from
mergify/bp/release-0.2/pr-294

Conversation

@mergify

@mergify mergify Bot commented Nov 10, 2026

Copy link
Copy Markdown

Include bootc version in the bootc node CRD


This is an automatic backport of pull request #294 done by Mergify.

Adds Executor.Version to run 'bootc --version' on the host, and
bootc.ParseVersion to extract the version string from its output.
Not yet wired up to anything.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
(cherry picked from commit d3ec69f)
Reports the version of the bootc binary on the host, as returned by
'bootc --version'. Daemon population comes in a follow-up commit.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
(cherry picked from commit 8ecff4e)
Reads 'bootc --version' via the watcher, caches it since the host
binary only changes across a reboot (which also restarts the
daemon), and writes it into status.bootcVersion on reconcile. A
failure to read the version is logged but does not mark the node
Degraded, since the field is purely informational.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
(cherry picked from commit b3b65fc)
@mergify mergify Bot mentioned this pull request Nov 10, 2026
@alicefr
alicefr enabled auto-merge (rebase) November 10, 2026 12:02
@alicefr
alicefr merged commit 1856ea1 into release-0.2 Nov 10, 2026
12 checks passed
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.

1 participant