Skip to content

Commit cac950e

Browse files
committed
build(deps): bump github.com/opencontainers/runtime-spec from 1.0.3 to 1.1.0-rc4
This version is currently used in Linux distributions to build podman and friends Signed-off-by: Reinhard Tartler <siretart@tauware.de>
1 parent fbc1339 commit cac950e

File tree

13 files changed

+102
-25
lines changed

13 files changed

+102
-25
lines changed

cmd/umoci/config.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,13 @@ image.`,
9999
func toImage(config ispec.ImageConfig, meta mutate.Meta) ispec.Image {
100100
created := meta.Created
101101
return ispec.Image{
102-
Config: config,
103-
Created: &created,
104-
Author: meta.Author,
105-
Architecture: meta.Architecture,
106-
OS: meta.OS,
102+
Config: config,
103+
Created: &created,
104+
Author: meta.Author,
105+
Platform: ispec.Platform{
106+
Architecture: meta.Architecture,
107+
OS: meta.OS,
108+
},
107109
}
108110
}
109111

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/klauspost/pgzip v1.2.5
1313
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
1414
github.com/opencontainers/go-digest v1.0.0
15-
github.com/opencontainers/image-spec v1.0.2
15+
github.com/opencontainers/image-spec v1.1.0-rc3
1616
github.com/opencontainers/runc v1.1.8
1717
github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417
1818
github.com/pkg/errors v0.9.1

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8
6565
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
6666
github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM=
6767
github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
68+
github.com/opencontainers/image-spec v1.1.0-rc3 h1:fzg1mXZFj8YdPeNkRXMg+zb88BFV0Ys52cJydRwBkb8=
69+
github.com/opencontainers/image-spec v1.1.0-rc3/go.mod h1:X4pATf0uXsnn3g5aiGIsVnJBR4mxhKzfwmvK/B2NTm8=
6870
github.com/opencontainers/runc v1.1.8 h1:zICRlc+C1XzivLc3nzE+cbJV4LIi8tib6YG0MqC6OqA=
6971
github.com/opencontainers/runc v1.1.8/go.mod h1:CbUumNnWCuTGFukNXahoo/RFBZvDAgRh/smNYNOhA50=
7072
github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 h1:3snG66yBm59tKhhSPQrQ/0bCrv1LQbKt40LnUPiUxdc=

oci/casext/refname_dir_test.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,12 @@ func fakeSetupEngine(t *testing.T, engineExt Engine) ([]descriptorMap, error) {
131131
// Create our config and insert it.
132132
created := time.Now()
133133
configDigest, configSize, err := engineExt.PutBlobJSON(ctx, ispec.Image{
134-
Created: &created,
135-
Author: "Jane Author <janesmith@example.com>",
136-
Architecture: runtime.GOARCH,
137-
OS: runtime.GOOS,
134+
Created: &created,
135+
Author: "Jane Author <janesmith@example.com>",
136+
Platform: ispec.Platform{
137+
Architecture: runtime.GOARCH,
138+
OS: runtime.GOOS,
139+
},
138140
RootFS: ispec.RootFS{
139141
Type: "unknown",
140142
},

oci/layer/unpack_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ yRAbACGEEEIIIYQQQgghhBBCCKEr+wTE0sQyACgAAA==`,
116116

117117
// Create the config.
118118
config := ispec.Image{
119-
OS: "linux",
119+
Platform: ispec.Platform{
120+
OS: "linux",
121+
},
120122
RootFS: ispec.RootFS{
121123
Type: "layers",
122124
DiffIDs: layerDigests,

vendor/github.com/opencontainers/image-spec/specs-go/v1/annotations.go

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/opencontainers/image-spec/specs-go/v1/config.go

Lines changed: 13 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/opencontainers/image-spec/specs-go/v1/descriptor.go

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/opencontainers/image-spec/specs-go/v1/index.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/opencontainers/image-spec/specs-go/v1/manifest.go

Lines changed: 16 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)