buildkit icon indicating copy to clipboard operation
buildkit copied to clipboard

vendor: bump github.com/Azure/azure-sdk-for-go deps

Open crazy-max opened this issue 11 months ago • 2 comments

  • https://github.com/Azure/azure-sdk-for-go/compare/sdk/azidentity/v1.1.0...sdk/azidentity/v1.5.1
  • https://github.com/Azure/azure-sdk-for-go/compare/sdk/storage/azblob/v0.4.1...sdk/storage/azblob/v1.3.1

cc @vangarp @amrmahdi

crazy-max avatar Feb 29 '24 07:02 crazy-max

Ok needs some changes

 50.41 cache/remotecache/azblob/exporter.go:157:50: undefined: azblob.BlockBlobUploadOptions
50.41 cache/remotecache/azblob/exporter.go:179:20: undefined: azblob.ETagAny
50.41 cache/remotecache/azblob/exporter.go:181:3: unknown field BufferSize in struct literal of type blockblob.UploadStreamOptions
50.41 cache/remotecache/azblob/exporter.go:182:3: unknown field MaxBuffers in struct literal of type blockblob.UploadStreamOptions
50.41 cache/remotecache/azblob/importer.go:52:26: undefined: azblob.ContainerClient
50.41 cache/remotecache/azblob/importer.go:177:26: undefined: azblob.ContainerClient
50.41 cache/remotecache/azblob/importer.go:210:26: undefined: azblob.ContainerClient
50.41 cache/remotecache/azblob/utils.go:113:74: undefined: azblob.ContainerClient
50.41 cache/remotecache/azblob/utils.go:176:62: undefined: azblob.ContainerClient
50.41 cache/remotecache/azblob/exporter.go:182:3: too many errors

crazy-max avatar Feb 29 '24 07:02 crazy-max

Ok we need to bump azurite: https://github.com/moby/buildkit/actions/runs/8094095530/job/22118240758?pr=4715#step:8:1744

sandbox.go:131: time="2024-02-29T10:00:40Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: rpc error: code = Unknown desc = failed to configure azblob cache exporter: failed to create container client: failed to create cache container cachecontainer: PUT [http://127.0.0.1:42607/azblobcacheaccount/cachecontainer\n--------------------------------------------------------------------------------\nRESPONSE](http://127.0.0.1:42607/azblobcacheaccount/cachecontainer/n--------------------------------------------------------------------------------/nRESPONSE) 400: 400 The API version 2023-11-03 is not supported by Azurite. Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio, please check you have installed latest Visual Studio patch. Azurite command line parameter \"--skipApiVersionCheck\" or Visual Studio Code configuration \"Skip Api Version Check\" can skip this error. \nERROR CODE: InvalidHeaderValue\n--------------------------------------------------------------------------------\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<Error>\n  <Code>InvalidHeaderValue</Code>\n  <Message>The API version 2023-11-03 is not supported by Azurite. Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio, please check you have installed latest Visual Studio patch. Azurite command line parameter \"--skipApiVersionCheck\" or Visual Studio Code configuration \"Skip Api Version Check\" can skip this error. \nRequestId:2baa387b-f3b0-4bef-bd6f-3300339947d6\nTime:2024-02-29T10:00:40.175Z</Message>\n</Error>\n--------------------------------------------------------------------------------\n"

crazy-max avatar Feb 29 '24 10:02 crazy-max

can you make an issue for this @crazy-max ?

thompson-shaun avatar Jun 27 '24 16:06 thompson-shaun