Skip to content

Commit

Permalink
Merge pull request volcano-sh#40 from archlitchi/master
Browse files Browse the repository at this point in the history
Fix ci error for devices
  • Loading branch information
william-wang authored Apr 10, 2023
2 parents 63aa0d9 + 1d042c8 commit 15b3915
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cmd/vgpu/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"github.com/spf13/viper"
"k8s.io/klog/v2"
pluginapi "k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1"
nvidiadevice "volcano.sh/k8s-device-plugin/pkg/plugin/vgpu4pd"
"volcano.sh/k8s-device-plugin/pkg/plugin/vgpu4pd/config"
"volcano.sh/k8s-device-plugin/pkg/plugin/vgpu4pd/util"
nvidiadevice "volcano.sh/k8s-device-plugin/pkg/plugin/vgpu"
"volcano.sh/k8s-device-plugin/pkg/plugin/vgpu/config"
"volcano.sh/k8s-device-plugin/pkg/plugin/vgpu/util"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion docker/amd64/Dockerfile.vgpu-ubuntu20.04
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ WORKDIR /go/src/volcano.sh/devices
COPY . .

RUN export CGO_LDFLAGS_ALLOW='-Wl,--unresolved-symbols=ignore-in-object-files' && \
go build -ldflags="-s -w" -o volcano-vgpu-device-plugin ./cmd/vgpu4pd
go build -ldflags="-s -w" -o volcano-vgpu-device-plugin ./cmd/vgpu

FROM debian:stretch-slim

Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/vgpu/util/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const (
NodeNvidiaDeviceRegistered = "volcano.sh/node-vgpu-register"

// DeviceName used to indicate this device
VGPUDeviceName = "vgpu4pd"
VGPUDeviceName = "vgpu"
)

var (
Expand Down

0 comments on commit 15b3915

Please sign in to comment.