Skip to content

Commit

Permalink
Merge pull request #2346 from dtrudg/pick-2309
Browse files Browse the repository at this point in the history
Update container-device-interface to v0.6.2 (release-4.0)
  • Loading branch information
dtrudg authored Nov 10, 2023
2 parents b7bc549 + b55f16f commit 519f37b
Show file tree
Hide file tree
Showing 8 changed files with 434 additions and 7 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,5 @@ The following have contributed code and/or documentation to this repository.
- Carmelo Piccione <[email protected]>
- Nicholas Yue <[email protected]>
- Benedikt Riedel <[email protected]>
- Evan Lezar <[email protected]>, <[email protected]>
```
422 changes: 421 additions & 1 deletion LICENSE_DEPENDENCIES.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion e2e/actions/oci.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ import (
"testing"
"text/template"

cdispecs "github.com/container-orchestrated-devices/container-device-interface/specs-go"
"github.com/sylabs/singularity/v4/e2e/internal/e2e"
"github.com/sylabs/singularity/v4/internal/pkg/test/tool/dirs"
testExec "github.com/sylabs/singularity/v4/internal/pkg/test/tool/exec"
"github.com/sylabs/singularity/v4/internal/pkg/test/tool/require"
"github.com/sylabs/singularity/v4/internal/pkg/util/bin"
"github.com/sylabs/singularity/v4/internal/pkg/util/fs"
"gotest.tools/v3/assert"
cdispecs "tags.cncf.io/container-device-interface/specs-go"
)

const (
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ require (
github.com/blang/semver/v4 v4.0.0
github.com/buger/goterm v1.0.4
github.com/buger/jsonparser v1.1.1
github.com/container-orchestrated-devices/container-device-interface v0.6.1
github.com/containernetworking/cni v1.1.2
github.com/containernetworking/plugins v1.3.0
github.com/containers/common v0.56.0
Expand Down Expand Up @@ -57,6 +56,8 @@ require (
gopkg.in/yaml.v3 v3.0.1
gotest.tools/v3 v3.5.1
mvdan.cc/sh/v3 v3.7.1-0.20231014181306-8b673862efc6
tags.cncf.io/container-device-interface v0.6.2
tags.cncf.io/container-device-interface/specs-go v0.6.0
)

require (
Expand All @@ -72,6 +73,7 @@ require (
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cilium/ebpf v0.9.1 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/container-orchestrated-devices/container-device-interface v0.6.1 // indirect
github.com/containerd/containerd v1.7.6 // indirect
github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 // indirect
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -790,3 +790,7 @@ mvdan.cc/sh/v3 v3.7.1-0.20231014181306-8b673862efc6 h1:X0JtrTYSV9TYmOIoNhB/mMYkg
mvdan.cc/sh/v3 v3.7.1-0.20231014181306-8b673862efc6/go.mod h1:5hco898titbMf+9Y1bnuzVQAHgb/EpGCSN390uVmAVU=
sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo=
sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8=
tags.cncf.io/container-device-interface v0.6.2 h1:dThE6dtp/93ZDGhqaED2Pu374SOeUkBfuvkLuiTdwzg=
tags.cncf.io/container-device-interface v0.6.2/go.mod h1:Shusyhjs1A5Na/kqPVLL0KqnHQHuunol9LFeUNkuGVE=
tags.cncf.io/container-device-interface/specs-go v0.6.0 h1:V+tJJN6dqu8Vym6p+Ru+K5mJ49WL6Aoc5SJFSY0RLsQ=
tags.cncf.io/container-device-interface/specs-go v0.6.0/go.mod h1:hMAwAbMZyBLdmYqWgYcKH0F/yctNpV3P35f+/088A80=
4 changes: 2 additions & 2 deletions internal/pkg/runtime/launcher/oci/cdi_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"fmt"
"sync"

"github.com/container-orchestrated-devices/container-device-interface/pkg/cdi"
"github.com/container-orchestrated-devices/container-device-interface/pkg/parser"
"github.com/opencontainers/runtime-spec/specs-go"
"tags.cncf.io/container-device-interface/pkg/cdi"
"tags.cncf.io/container-device-interface/pkg/parser"
)

// A container to hold the CDI registry, plus a sync.Once object to ensure we only have to ask for it once
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/runtime/launcher/oci/cdi_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"sort"
"testing"

"github.com/container-orchestrated-devices/container-device-interface/pkg/cdi"
"github.com/opencontainers/runtime-spec/specs-go"
"github.com/sylabs/singularity/v4/pkg/util/slice"
"tags.cncf.io/container-device-interface/pkg/cdi"
)

var specDirs = []string{filepath.Join("..", "..", "..", "..", "..", "test", "cdi")}
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/runtime/launcher/oci/launcher_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"strings"
"syscall"

"github.com/container-orchestrated-devices/container-device-interface/pkg/cdi"
"github.com/google/uuid"
lccgroups "github.com/opencontainers/runc/libcontainer/cgroups"
"github.com/opencontainers/runtime-spec/specs-go"
Expand All @@ -47,6 +46,7 @@ import (
"github.com/sylabs/singularity/v4/pkg/util/singularityconf"
"github.com/sylabs/singularity/v4/pkg/util/slice"
"golang.org/x/sys/unix"
"tags.cncf.io/container-device-interface/pkg/cdi"
)

var (
Expand Down

0 comments on commit 519f37b

Please sign in to comment.