File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change 3636 nvidia-cdi-hook : nvidia-cdi-hook
3737 nvidia-ctk : nvidia-ctk
3838
39- - name : tools
40- items :
41- containerd : containerd
42- crio : crio
43- docker : docker
44- nvidia-toolkit : nvidia-toolkit
45- operator : operator
46- toolkit : toolkit
47-
4839subpackages :
4940 - range : commands
5041 name : " ${{package.name}}-${{range.key}}"
@@ -62,31 +53,6 @@ subpackages:
6253 apk add runc # runc is just a placeholder, the actual runtime binary is TBD by the user
6354 ${{range.value}} --help
6455
65- - range : tools
66- name : " ${{package.name}}-${{range.key}}"
67- pipeline :
68- - uses : go/build
69- with :
70- modroot : .
71- packages : ./tools/container/${{range.key}}
72- ldflags : -s -w -X main.Version=${{package.version}}
73- output : ${{range.key}}
74- vendor : true
75- - runs : |
76- # Ref: https://github.com/NVIDIA/nvidia-container-toolkit/blob/v1.15.0/deployments/container/Dockerfile.ubi8#L74
77- mkdir -p ${{targets.contextdir}}/work
78- ln -sf /usr/bin/${{range.key}} ${{targets.contextdir}}/work/${{range.key}}
79- test :
80- pipeline :
81- - runs : |
82- # Operator requires root privileges to run
83- if [ "${{range.key}}" = "operator" ]; then
84- set +e
85- /work/${{range.key}} 2>&1 | grep -q "Permission denied"
86- exit $?
87- fi
88- /work/${{range.key}} --version
89-
9056update :
9157 enabled : true
9258 ignore-regex-patterns :
You can’t perform that action at this time.
0 commit comments