Skip to content

Commit 5151c9a

Browse files
committed
CI: document DRIVER_SHA256 ownership and update procedure in test-matrix.yml
Signed-off-by: Ralf Juengling <[email protected]>
1 parent 4d2aa83 commit 5151c9a

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

‎ci/test-matrix.yml‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,15 @@
2121
# or ci/tools/install_gpu_driver.ps1 (Windows) at the start of the
2222
# job. The matrix row is routed to the 'latest' runner image (the
2323
# install scripts swap the driver themselves). A version-string
24-
# row must also set DRIVER_SHA256 (regenerate with:
25-
# `curl -fsSL <installer-url> | sha256sum`).
24+
# row must also set DRIVER_SHA256: the SHA-256 of the exact
25+
# installer the script downloads (see the URL construction in
26+
# install_gpu_driver.sh / .ps1; Windows data-center and desktop
27+
# installers differ). Whoever changes DRIVER owns this value:
28+
# compute it on a machine with an up-to-date trust store, e.g.
29+
# `curl -fsSL <installer-url> | sha256sum`, and state in the PR
30+
# how it was obtained; reviewers should recompute it. Treat a
31+
# CI hash mismatch as possible tampering -- never copy the
32+
# "got" value from a job log into this file.
2633
# - DRIVER: 'earliest' does not work with CUDA 12.9.1
2734
# - DRIVER: a custom version is not supported with FLAVOR=wsl on Linux.
2835
# - ENV: optional map of extra environment variables to inject into the test

0 commit comments

Comments
 (0)