Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump github.com/opencontainers/runtime-spec from 1.0.3 t… #502

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions cmd/umoci/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,13 @@ image.`,
func toImage(config ispec.ImageConfig, meta mutate.Meta) ispec.Image {
created := meta.Created
return ispec.Image{
Config: config,
Created: &created,
Author: meta.Author,
Architecture: meta.Architecture,
OS: meta.OS,
Config: config,
Created: &created,
Author: meta.Author,
Platform: ispec.Platform{
Architecture: meta.Architecture,
OS: meta.OS,
},
}
}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/klauspost/pgzip v1.2.5
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
github.com/opencontainers/go-digest v1.0.0
github.com/opencontainers/image-spec v1.0.2
github.com/opencontainers/image-spec v1.1.0-rc3
github.com/opencontainers/runc v1.1.8
github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417
github.com/pkg/errors v0.9.1
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM=
github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
github.com/opencontainers/image-spec v1.1.0-rc3 h1:fzg1mXZFj8YdPeNkRXMg+zb88BFV0Ys52cJydRwBkb8=
github.com/opencontainers/image-spec v1.1.0-rc3/go.mod h1:X4pATf0uXsnn3g5aiGIsVnJBR4mxhKzfwmvK/B2NTm8=
github.com/opencontainers/runc v1.1.8 h1:zICRlc+C1XzivLc3nzE+cbJV4LIi8tib6YG0MqC6OqA=
github.com/opencontainers/runc v1.1.8/go.mod h1:CbUumNnWCuTGFukNXahoo/RFBZvDAgRh/smNYNOhA50=
github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 h1:3snG66yBm59tKhhSPQrQ/0bCrv1LQbKt40LnUPiUxdc=
Expand Down
10 changes: 6 additions & 4 deletions oci/casext/refname_dir_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,12 @@ func fakeSetupEngine(t *testing.T, engineExt Engine) ([]descriptorMap, error) {
// Create our config and insert it.
created := time.Now()
configDigest, configSize, err := engineExt.PutBlobJSON(ctx, ispec.Image{
Created: &created,
Author: "Jane Author <[email protected]>",
Architecture: runtime.GOARCH,
OS: runtime.GOOS,
Created: &created,
Author: "Jane Author <[email protected]>",
Platform: ispec.Platform{
Architecture: runtime.GOARCH,
OS: runtime.GOOS,
},
RootFS: ispec.RootFS{
Type: "unknown",
},
Expand Down
4 changes: 3 additions & 1 deletion oci/layer/unpack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ yRAbACGEEEIIIYQQQgghhBBCCKEr+wTE0sQyACgAAA==`,

// Create the config.
config := ispec.Image{
OS: "linux",
Platform: ispec.Platform{
OS: "linux",
},
RootFS: ispec.RootFS{
Type: "layers",
DiffIDs: layerDigests,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 13 additions & 5 deletions vendor/github.com/opencontainers/image-spec/specs-go/v1/config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ github.com/mohae/deepcopy
# github.com/opencontainers/go-digest v1.0.0
## explicit; go 1.13
github.com/opencontainers/go-digest
# github.com/opencontainers/image-spec v1.0.2
## explicit
# github.com/opencontainers/image-spec v1.1.0-rc3
## explicit; go 1.18
github.com/opencontainers/image-spec/specs-go
github.com/opencontainers/image-spec/specs-go/v1
# github.com/opencontainers/runc v1.1.8
Expand Down