integration: basic s3 cache test#3398
Merged
crazy-max merged 4 commits intomoby:masterfrom Jan 30, 2023
Merged
Conversation
c42d841 to
2b76f8c
Compare
e4b5c2c to
3782abf
Compare
Member
Author
53b4e00 to
0aaf62b
Compare
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
0aaf62b to
05c4d57
Compare
bpaquet
reviewed
Jan 9, 2023
| testBasicCacheImportExport(t, sb, []CacheOptionsEntry{im}, []CacheOptionsEntry{ex}) | ||
| } | ||
|
|
||
| func testBasicS3CacheImportExport(t *testing.T, sb integration.Sandbox) { |
Contributor
There was a problem hiding this comment.
This is only one case. @crazy-max do you want help for others?
Member
Author
There was a problem hiding this comment.
I think the basic one is fine for this use case:
buildkit/client/client_test.go
Lines 4556 to 4616 in 05c4d57
If you think about ones specific to s3, we can do that in follow-ups.
tonistiigi
approved these changes
Jan 30, 2023
Member
Author
|
@bpaquet As discussed with @tonistiigi I will open a follow-up to check the bucket content like you've done. If you want to do it, let me know. |
|
Is this fixing importing cache from several targets (multi stage builds)? Currently that's not working very well and I cannot find much documentation to ping-pong what's going on. |
This was referenced Jul 17, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds basic integration test for s3 cache so we can get rid of the one from hack folder. Also pin busybox in current azblob_test related to #3469.
cc @bpaquet