mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-10-31 16:13:45 +08:00 
			
		
		
		
	vendor: buildkit v0.7.2
v0.7.2 ---------------- Fixes: - solver: gracefully handle cache loading errors - remotecache: only visit each item once when walking results - cache: avoid possible nil dereference on error handling - contenthash: allow security.capability in cache checksum - contenthash: treat unix sockets as regular files - push: fix race condition on pushing the same layers in parallel - inline cache: fix handling of duplicate blobs in same image - gateway: fix metadata getting lost on subsolve in external frontend - filesync: avoid ignoring close error - runc: update runc binary to v1.0.0-rc91 - buildctl-daemonless: allow max retries on socket connect for buildctl - buildctl-daemonless: fix shell args expansion - buildctl-daemonless: show log on startup timeout v0.7.1 ---------------- Fixes: - git: use --force flag on fetch - tar exporter: handle symlinks properly - resolver: disable http2 for pushing Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
		
							
								
								
									
										10
									
								
								vendor/github.com/moby/buildkit/frontend/gateway/pb/caps.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/github.com/moby/buildkit/frontend/gateway/pb/caps.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -32,6 +32,9 @@ const ( | ||||
| 	// CapFrontendInputs is a capability to request frontend inputs from the | ||||
| 	// LLBBridge GRPC server. | ||||
| 	CapFrontendInputs apicaps.CapID = "frontend.inputs" | ||||
|  | ||||
| 	// CapGatewaySolveMetadata can be used to check if solve calls from gateway reliably return metadata | ||||
| 	CapGatewaySolveMetadata apicaps.CapID = "gateway.solve.metadata" | ||||
| ) | ||||
|  | ||||
| func init() { | ||||
| @@ -126,4 +129,11 @@ func init() { | ||||
| 		Enabled: true, | ||||
| 		Status:  apicaps.CapStatusExperimental, | ||||
| 	}) | ||||
|  | ||||
| 	Caps.Init(apicaps.Cap{ | ||||
| 		ID:      CapGatewaySolveMetadata, | ||||
| 		Name:    "gateway metadata", | ||||
| 		Enabled: true, | ||||
| 		Status:  apicaps.CapStatusExperimental, | ||||
| 	}) | ||||
| } | ||||
|   | ||||
							
								
								
									
										9
									
								
								vendor/github.com/moby/buildkit/session/filesync/filesync.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								vendor/github.com/moby/buildkit/session/filesync/filesync.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -255,7 +255,7 @@ func (sp *fsSyncTarget) Register(server *grpc.Server) { | ||||
| 	RegisterFileSendServer(server, sp) | ||||
| } | ||||
|  | ||||
| func (sp *fsSyncTarget) DiffCopy(stream FileSend_DiffCopyServer) error { | ||||
| func (sp *fsSyncTarget) DiffCopy(stream FileSend_DiffCopyServer) (err error) { | ||||
| 	if sp.outdir != "" { | ||||
| 		return syncTargetDiffCopy(stream, sp.outdir) | ||||
| 	} | ||||
| @@ -277,7 +277,12 @@ func (sp *fsSyncTarget) DiffCopy(stream FileSend_DiffCopyServer) error { | ||||
| 	if wc == nil { | ||||
| 		return status.Errorf(codes.AlreadyExists, "target already exists") | ||||
| 	} | ||||
| 	defer wc.Close() | ||||
| 	defer func() { | ||||
| 		err1 := wc.Close() | ||||
| 		if err != nil { | ||||
| 			err = err1 | ||||
| 		} | ||||
| 	}() | ||||
| 	return writeTargetFile(stream, wc) | ||||
| } | ||||
|  | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/github.com/moby/buildkit/util/entitlements/entitlements.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/moby/buildkit/util/entitlements/entitlements.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -43,7 +43,7 @@ func WhiteList(allowed, supported []Entitlement) (Set, error) { | ||||
| 		} | ||||
| 		if supported != nil { | ||||
| 			if !supm.Allowed(e) { | ||||
| 				return nil, errors.Errorf("entitlement %s is not allowed", e) | ||||
| 				return nil, errors.Errorf("granting entitlement %s is not allowed by build daemon configuration", e) | ||||
| 			} | ||||
| 		} | ||||
| 		m[e] = struct{}{} | ||||
|   | ||||
							
								
								
									
										6
									
								
								vendor/github.com/tonistiigi/fsutil/tarwriter.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/github.com/tonistiigi/fsutil/tarwriter.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -37,7 +37,11 @@ func WriteTar(ctx context.Context, fs FS, w io.Writer) error { | ||||
| 		hdr.Linkname = stat.Linkname | ||||
| 		if hdr.Linkname != "" { | ||||
| 			hdr.Size = 0 | ||||
| 			hdr.Typeflag = tar.TypeLink | ||||
| 			if fi.Mode() & os.ModeSymlink != 0 { | ||||
| 				hdr.Typeflag = tar.TypeSymlink | ||||
| 			} else { | ||||
| 				hdr.Typeflag = tar.TypeLink | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
| 		if len(stat.Xattrs) > 0 { | ||||
|   | ||||
							
								
								
									
										4
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							| @@ -237,7 +237,7 @@ github.com/miekg/pkcs11 | ||||
| github.com/mitchellh/go-wordwrap | ||||
| # github.com/mitchellh/mapstructure v1.1.2 | ||||
| github.com/mitchellh/mapstructure | ||||
| # github.com/moby/buildkit v0.7.0 | ||||
| # github.com/moby/buildkit v0.7.2 | ||||
| github.com/moby/buildkit/api/services/control | ||||
| github.com/moby/buildkit/api/types | ||||
| github.com/moby/buildkit/client | ||||
| @@ -331,7 +331,7 @@ github.com/theupdateframework/notary/tuf/data | ||||
| github.com/theupdateframework/notary/tuf/signed | ||||
| github.com/theupdateframework/notary/tuf/utils | ||||
| github.com/theupdateframework/notary/tuf/validation | ||||
| # github.com/tonistiigi/fsutil v0.0.0-20200225063759-013a9fe6aee2 | ||||
| # github.com/tonistiigi/fsutil v0.0.0-20200326231323-c2c7d7b0e144 | ||||
| github.com/tonistiigi/fsutil | ||||
| github.com/tonistiigi/fsutil/types | ||||
| # github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sebastiaan van Stijn
					Sebastiaan van Stijn