Skip to content

Commit 2105c21

Browse files
committed
TOFIX: Run nvidia-ctk cdi list on WSL
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 5c01d5b commit 2105c21

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/e2e-gpu-test.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
options: --privileged
4646
volumes:
4747
- /var/run/docker.sock:/var/run/docker.sock
48+
- /etc/cdi:/etc/cdi
49+
- /var/run/cdi:/var/run/cdi
4850
env:
4951
MISE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5052
IMAGE_TAG: ${{ inputs.image-tag }}
@@ -69,12 +71,8 @@ jobs:
6971
- name: Generate CDI spec (WSL2)
7072
if: matrix.name == 'wsl-amd64'
7173
run: |
72-
docker run --rm --privileged \
73-
-v /var/run/cdi:/var/run/cdi \
74-
-v /usr/lib/wsl:/usr/lib/wsl \
75-
--entrypoint nvidia-ctk \
76-
ghcr.io/nvidia/openshell/cluster:${{ inputs.image-tag }} \
77-
cdi generate --mode=wsl --output=/var/run/cdi/nvidia.yaml
74+
nvidia-ctk --version
75+
nvidia-ctk cdi list
7876
7977
- name: Bootstrap GPU cluster
8078
env:

0 commit comments

Comments
 (0)