Skip to content

Commit 22087f8

Browse files
sutaakaropenshift-merge-bot[bot]
authored andcommitted
Fix kind-add-user usage for NVidia image
1 parent f7e1e37 commit 22087f8

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

github-actions/kind-add-user/action.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ runs:
3333
cat $HOME/.kube/config
3434
3535
# Cleanup
36-
rm ca.crt
37-
rm ca.srl
38-
rm ca.key
39-
rm user.crt
40-
rm user.key
41-
rm user.csr
36+
rm --force ca.crt
37+
rm --force ca.srl
38+
rm --force ca.key
39+
rm --force user.crt
40+
rm --force user.key
41+
rm --force user.csr
4242
shell: bash

github-actions/nvidia-gpu-setup/action.yml

+6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ runs:
1313
cp -r /etc/containers ~/.config/containers
1414
shell: bash
1515

16+
- name: Install yq
17+
run: |
18+
sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/local/bin/yq
19+
sudo chmod 777 /usr/local/bin/yq
20+
shell: bash
21+
1622
- name: Setup NVIDIA Container Toolkit
1723
run: |
1824
sudo nvidia-ctk runtime configure --runtime=docker --set-as-default

0 commit comments

Comments
 (0)