Skip to content

Commit

Permalink
Merge pull request #170 from bart0sh/PR015-add-specs-go-mod
Browse files Browse the repository at this point in the history
make specs-go a module
  • Loading branch information
elezar authored Oct 30, 2023
2 parents 2cff845 + 85e2e5b commit 8ef149a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/cdi/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ require (
)

require (
github.com/container-orchestrated-devices/container-device-interface/specs-go v0.0.0-00010101000000-000000000000 // indirect
github.com/inconshreveable/mousetrap v1.0.1 // indirect
github.com/opencontainers/selinux v1.10.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
Expand All @@ -25,3 +26,5 @@ require (
)

replace github.com/container-orchestrated-devices/container-device-interface => ../..

replace github.com/container-orchestrated-devices/container-device-interface/specs-go => ../../specs-go
2 changes: 2 additions & 0 deletions cmd/validate/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ require (
)

replace github.com/container-orchestrated-devices/container-device-interface => ../..

replace github.com/container-orchestrated-devices/container-device-interface/specs-go => ../../specs-go
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module github.com/container-orchestrated-devices/container-device-interface
go 1.19

require (
github.com/container-orchestrated-devices/container-device-interface/specs-go v0.0.0-00010101000000-000000000000
github.com/fsnotify/fsnotify v1.5.1
github.com/opencontainers/runtime-spec v1.1.0
github.com/opencontainers/runtime-tools v0.9.1-0.20221107090550-2e043c6bd626
Expand All @@ -22,3 +23,5 @@ require (
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/container-orchestrated-devices/container-device-interface/specs-go => ./specs-go
5 changes: 5 additions & 0 deletions specs-go/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/container-orchestrated-devices/container-device-interface/specs-go

go 1.19

require github.com/opencontainers/runtime-spec v1.0.3-0.20220909204839-494a5a6aca78
2 changes: 2 additions & 0 deletions specs-go/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/opencontainers/runtime-spec v1.0.3-0.20220909204839-494a5a6aca78 h1:R5M2qXZiK/mWPMT4VldCOiSL9HIAMuxQZWdG0CSM5+4=
github.com/opencontainers/runtime-spec v1.0.3-0.20220909204839-494a5a6aca78/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=

0 comments on commit 8ef149a

Please sign in to comment.