Skip to content

Install GPU drivers by default - #228

Merged
snir911 merged 10 commits into
confidential-devhub:mainfrom
snir911:konflux-nv
Jun 29, 2026
Merged

Install GPU drivers by default#228
snir911 merged 10 commits into
confidential-devhub:mainfrom
snir911:konflux-nv

Conversation

@snir911

@snir911 snir911 commented May 28, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@snir911 snir911 self-assigned this May 28, 2026
@snir911
snir911 force-pushed the konflux-nv branch 3 times, most recently from b2012db to 4675780 Compare May 31, 2026 09:11
@snir911
snir911 force-pushed the konflux-nv branch 2 times, most recently from 247bea1 to fc801ea Compare June 7, 2026 09:06
@snir911
snir911 force-pushed the konflux-nv branch 4 times, most recently from e4f5188 to 416e7d9 Compare June 18, 2026 14:02
@snir911 snir911 changed the title TESTING!!!! Install GPU drivers by default Jun 23, 2026

@littlejawa littlejawa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Overall looks ok, but I have some comments.

Comment thread .tekton/build-dm-verity-image-debug.yaml
Comment thread .tekton/build-dm-verity-image-debug.yaml
@esposem

esposem commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Looks good to me, the only security aspect we need to be very careful about is that the PCR annotations have to be included under the signature, otherwise an attacker can change them keeping the OCI artifact intact.
Looks like that annotations are indeed under the signature so we should be fine.

@snir911
snir911 force-pushed the konflux-nv branch 3 times, most recently from e5ffd0e to 8645d7b Compare June 28, 2026 08:14
@red-hat-konflux

Copy link
Copy Markdown
Contributor

Caution

There are some errors in your PipelineRun template.

PipelineRun Error
build-dm-verity-image-debug.yaml yaml validation error: line 259: could not find expected ':'

snir911 added 3 commits June 28, 2026 13:39
To be used with RHEL 10.2 ISO:
rhel-10.2-x86_64-dvd.iso image
sha256sum: e15cb333529c332e76e4b1b946efe3515c99f996546675aec18e8effdf2540a5

KERNEL_VERSION=6.12.0-211.16.1.el10_2

Signed-off-by: Snir Schreiber <ssheribe@redhat.com>
Add PCR measurements as individual OCI image annotations in addition
to the existing measurements.json file. This allows users to query
PCR values via skopeo/podman inspect without pulling the image.

Annotations added:
- io.github.confidential-containers.measurements.algorithm
- io.github.confidential-containers.measurements.pcr03
- io.github.confidential-containers.measurements.pcr09
- io.github.confidential-containers.measurements.pcr11
- io.github.confidential-containers.measurements.pcr12

Assisted-by: Claude AI
Signed-off-by: Snir Schreiber <ssheribe@redhat.com>
These packages are required by libnvat.so.1 required by latest
payload image

Assisted-by: Claude AI
Signed-off-by: Snir Schreiber <ssheribe@redhat.com>
snir911 added 4 commits June 28, 2026 20:51
NVIDIA_DRIVER_VERSION=595.58.03

(if NVIDIA_DRIVER_VERSION, driver installtion will be skipped)

Assisted-by: Claude AI
Signed-off-by: Snir Schreiber <ssheribe@redhat.com>
These packages are required by libnvat.so.1 required by latest
payload image

Assisted-by: Claude AI
Signed-off-by: Snir Schreiber <ssheribe@redhat.com>
To be used with RHEL 10.2 ISO:
rhel-10.2-x86_64-dvd.iso image
sha256sum: e15cb333529c332e76e4b1b946efe3515c99f996546675aec18e8effdf2540a5

KERNEL_VERSION=6.12.0-211.16.1.el10_2

Assisted-by: Claude AI
Signed-off-by: Snir Schreiber <ssheribe@redhat.com>
NVIDIA_DRIVER_VERSION=595.58.03

(if NVIDIA_DRIVER_VERSION, driver installtion will be skipped)

Assisted-by: Claude AI
Signed-off-by: Snir Schreiber <ssheribe@redhat.com>
@snir911
snir911 marked this pull request as ready for review June 29, 2026 06:35
@snir911
snir911 requested review from Copilot and littlejawa June 29, 2026 06:36

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.

Pull request overview

This PR updates the PodVM/dm-verity image build pipeline to install NVIDIA GPU drivers by default (with a configurable driver version), while also bumping the base RHEL image checksum/kernel version and enriching pushed OCI artifacts with TPM measurement metadata.

Changes:

  • Add NVIDIA_DRIVER_VERSION parameter and install NVIDIA driver/tooling during disk customization.
  • Update default RHEL image checksum and kernel version used during image build.
  • Add PCR measurement values as OCI manifest annotations during buildah commit, and update CoCo payload image digests.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
task/build-dm-verity-image/0.1/build-dm-verity-image.yaml Adds NVIDIA driver install steps, bumps defaults, and annotates OCI manifests with PCR measurements.
.tekton/build-dm-verity-image-debug.yaml Mirrors the main task updates for the debug variant.
scripts/coco/podvm/script-disk-mods.sh Updates the standalone disk modification script with kernel bump + NVIDIA driver install + CDI generation service.
scripts/coco/coco-components.sh Updates default payload image digest references.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread task/build-dm-verity-image/0.1/build-dm-verity-image.yaml Outdated
Comment thread .tekton/build-dm-verity-image-debug.yaml Outdated
Comment thread scripts/coco/podvm/script-disk-mods.sh Outdated
Comment thread task/build-dm-verity-image/0.1/build-dm-verity-image.yaml
Comment thread .tekton/build-dm-verity-image-debug.yaml
Comment thread scripts/coco/podvm/script-disk-mods.sh
snir911 added 3 commits June 29, 2026 09:57
temporarily exclude old kernel-uki-virt packages due to a deletion conflict

Signed-off-by: Snir Schreiber <ssheribe@redhat.com>
temporarily exclude old kernel-uki-virt packages due to a deletion conflict

Signed-off-by: Snir Schreiber <ssheribe@redhat.com>
Assisted-by: Claude AI
(pre-released) sha256:15d70ba45e3263be545254060674e93fbdef3922480f9c3c80381c599ca1cb67

Signed-off-by: Snir Schreiber <ssheribe@redhat.com>
@snir911
snir911 merged commit 3f2586c into confidential-devhub:main Jun 29, 2026
7 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.

4 participants