-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add back support for azblob cache #5725
Add back support for azblob cache #5725
Conversation
@tonistiigi @crazy-max please take a look |
} | ||
|
||
// For uploading manifests, use the Upload API which follows "last writer wins" sematics | ||
// This is slightly slower than UploadStream call but is safe to call concurrently from multiple threads. Refer to: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need to check our UploadStream
call in the gha backend?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok to do in a follow up PR? wanted to keep this limited to the vulnerability fixes so keeping everything else as it was. need to do some more testing (talking to azblob team) before changing this
var _ io.ReadSeekCloser = &readSeekCloser{} | ||
|
||
type readSeekCloser struct { | ||
io.Reader |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why hide the other functions from interface detection? I would just embed *bytes.Reader
and io.Closer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wanted to keep the changes in this PR to a minimum and get the vulnerabilities unblocked, but open to changing. do you think a separate follow up PR is fine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Squash the review commits and update the deps to match v0.20.0-rc1 go.mod
Signed-off-by: Pranav Pandit <[email protected]>
ab4fa88
to
1d5af10
Compare
Add azblob cache back and fixes #5233