From e05f614267213c93bd941d8a8980a0265a2e4634 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 5 Aug 2022 14:40:46 +0200 Subject: [PATCH] vendor buildkit 8e2d9b9 (v0.10 branch) Signed-off-by: CrazyMax --- .github/workflows/ci.yml | 4 +--- vendor.mod | 2 +- vendor.sum | 4 ++-- vendor/github.com/moby/buildkit/executor/oci/spec_unix.go | 2 +- vendor/modules.txt | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6b13c4a4e..ff0f33e962 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -128,9 +128,7 @@ jobs: name: BuildKit ref run: | ./hack/go-mod-prepare.sh - echo "BUILDKIT_REF=0da740f7d4f782a52b416a44f564ac37504b9ee1" >> $GITHUB_ENV -# FIXME(thaJeztah) temporarily overriding version to use for tests to include https://github.com/moby/buildkit/pull/2872 -# echo "BUILDKIT_REF=$(./hack/buildkit-ref)" >> $GITHUB_ENV + echo "BUILDKIT_REF=$(./hack/buildkit-ref)" >> $GITHUB_ENV working-directory: moby - name: Checkout BuildKit ${{ env.BUILDKIT_REF }} diff --git a/vendor.mod b/vendor.mod index 6b744eca13..dc7fc79d93 100644 --- a/vendor.mod +++ b/vendor.mod @@ -50,7 +50,7 @@ require ( github.com/klauspost/compress v1.15.1 github.com/miekg/dns v1.1.27 github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible - github.com/moby/buildkit v0.10.3 // FIXME(thaJeztah) when updating, remove the temporary override in /.github/workflows/ci.yml + github.com/moby/buildkit v0.10.4-0.20220719175648-8e2d9b9006ca // v0.10 branch github.com/moby/ipvs v1.0.2 github.com/moby/locker v1.0.1 github.com/moby/swarmkit/v2 v2.0.0-20220420172245-6068d1894d46 diff --git a/vendor.sum b/vendor.sum index 2956477246..1e438f6468 100644 --- a/vendor.sum +++ b/vendor.sum @@ -753,8 +753,8 @@ github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0Qu github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A= -github.com/moby/buildkit v0.10.3 h1:/dGykD8FW+H4p++q5+KqKEo6gAkYKyBQHdawdjVwVAU= -github.com/moby/buildkit v0.10.3/go.mod h1:jxeOuly98l9gWHai0Ojrbnczrk/rf+o9/JqNhY+UCSo= +github.com/moby/buildkit v0.10.4-0.20220719175648-8e2d9b9006ca h1:w/07TXrn/GqvjmFoWv8ISHa+Z3YLCDrErIOmi9JeFbE= +github.com/moby/buildkit v0.10.4-0.20220719175648-8e2d9b9006ca/go.mod h1:hSExepqMIdfcKis7f7V1YzweBB7zt9DnlK+PUDCKuSI= github.com/moby/ipvs v1.0.2 h1:NSbzuRTvfneftLU3VwPU5QuA6NZ0IUmqq9+VHcQxqHw= github.com/moby/ipvs v1.0.2/go.mod h1:2pngiyseZbIKXNv7hsKj3O9UEz30c53MT9005gt2hxQ= github.com/moby/locker v1.0.1 h1:fOXqR41zeveg4fFODix+1Ch4mj/gT0NE1XJbp/epuBg= diff --git a/vendor/github.com/moby/buildkit/executor/oci/spec_unix.go b/vendor/github.com/moby/buildkit/executor/oci/spec_unix.go index 5f4908ca6b..2c61468a8a 100644 --- a/vendor/github.com/moby/buildkit/executor/oci/spec_unix.go +++ b/vendor/github.com/moby/buildkit/executor/oci/spec_unix.go @@ -77,7 +77,7 @@ func generateIDmapOpts(idmap *idtools.IdentityMapping) ([]oci.SpecOpts, error) { return nil, nil } return []oci.SpecOpts{ - oci.WithUserNamespace(specMapping(idmap.UIDs()), specMapping(idmap.GIDs())), + oci.WithUserNamespace(specMapping(idmap.UIDMaps), specMapping(idmap.GIDMaps)), }, nil } diff --git a/vendor/modules.txt b/vendor/modules.txt index 674b0bc5e9..5cf43aa53c 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -474,7 +474,7 @@ github.com/mistifyio/go-zfs # github.com/mitchellh/hashstructure/v2 v2.0.2 ## explicit; go 1.14 github.com/mitchellh/hashstructure/v2 -# github.com/moby/buildkit v0.10.3 +# github.com/moby/buildkit v0.10.4-0.20220719175648-8e2d9b9006ca ## explicit; go 1.17 github.com/moby/buildkit/api/services/control github.com/moby/buildkit/api/types