From ec1f7123286170517535c9473787736cf033dea7 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Mon, 25 Nov 2024 17:42:30 -0800 Subject: [PATCH] vendor: update buildkit to v0.18.0-rc2 Signed-off-by: Tonis Tiigi --- go.mod | 2 +- go.sum | 4 ++-- .../github.com/moby/buildkit/util/testutil/workers/dockerd.go | 1 + .../moby/buildkit/util/testutil/workers/features.go | 2 ++ vendor/modules.txt | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index f57629670457..c2a35106549f 100644 --- a/go.mod +++ b/go.mod @@ -28,7 +28,7 @@ require ( github.com/hashicorp/hcl/v2 v2.20.1 github.com/in-toto/in-toto-golang v0.5.0 github.com/mitchellh/hashstructure/v2 v2.0.2 - github.com/moby/buildkit v0.18.0-rc1 + github.com/moby/buildkit v0.18.0-rc2 github.com/moby/sys/mountinfo v0.7.2 github.com/moby/sys/signal v0.7.1 github.com/morikuni/aec v1.0.0 diff --git a/go.sum b/go.sum index dca8de4030db..de886000cb0c 100644 --- a/go.sum +++ b/go.sum @@ -301,8 +301,8 @@ github.com/mitchellh/hashstructure/v2 v2.0.2/go.mod h1:MG3aRVU/N29oo/V/IhBX8GR/z github.com/mitchellh/mapstructure v0.0.0-20150613213606-2caf8efc9366/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/moby/buildkit v0.18.0-rc1 h1:fxurq9IkqaX7ZXRlxbBpY3DO7xw/vISJoNFw1Gtl4c0= -github.com/moby/buildkit v0.18.0-rc1/go.mod h1:vCR5CX8NGsPTthTg681+9kdmfvkvqJBXEv71GZe5msU= +github.com/moby/buildkit v0.18.0-rc2 h1:Q4jxxicZM5sqdy6gJPikgILBrBUncPok0Z0rRbhtVWk= +github.com/moby/buildkit v0.18.0-rc2/go.mod h1:vCR5CX8NGsPTthTg681+9kdmfvkvqJBXEv71GZe5msU= github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0= github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo= github.com/moby/locker v1.0.1 h1:fOXqR41zeveg4fFODix+1Ch4mj/gT0NE1XJbp/epuBg= diff --git a/vendor/github.com/moby/buildkit/util/testutil/workers/dockerd.go b/vendor/github.com/moby/buildkit/util/testutil/workers/dockerd.go index b6c1d1d51ad1..4a1af71e1874 100644 --- a/vendor/github.com/moby/buildkit/util/testutil/workers/dockerd.go +++ b/vendor/github.com/moby/buildkit/util/testutil/workers/dockerd.go @@ -50,6 +50,7 @@ func InitDockerdWorker() { Unsupported: []string{ FeatureSecurityMode, FeatureCNINetwork, + FeatureContentCheck, }, }) } diff --git a/vendor/github.com/moby/buildkit/util/testutil/workers/features.go b/vendor/github.com/moby/buildkit/util/testutil/workers/features.go index 3aaea6c31fec..3325e623e5a6 100644 --- a/vendor/github.com/moby/buildkit/util/testutil/workers/features.go +++ b/vendor/github.com/moby/buildkit/util/testutil/workers/features.go @@ -30,6 +30,7 @@ const ( FeatureSecurityMode = "security_mode" FeatureSourceDateEpoch = "source_date_epoch" FeatureCNINetwork = "cni_network" + FeatureContentCheck = "content_check" ) var features = map[string]struct{}{ @@ -56,6 +57,7 @@ var features = map[string]struct{}{ FeatureSecurityMode: {}, FeatureSourceDateEpoch: {}, FeatureCNINetwork: {}, + FeatureContentCheck: {}, } func CheckFeatureCompat(t *testing.T, sb integration.Sandbox, reason ...string) { diff --git a/vendor/modules.txt b/vendor/modules.txt index 044aa3e6f79e..397783644f02 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -483,7 +483,7 @@ github.com/mitchellh/go-wordwrap github.com/mitchellh/hashstructure/v2 # github.com/mitchellh/mapstructure v1.5.0 ## explicit; go 1.14 -# github.com/moby/buildkit v0.18.0-rc1 +# github.com/moby/buildkit v0.18.0-rc2 ## explicit; go 1.22.0 github.com/moby/buildkit/api/services/control github.com/moby/buildkit/api/types