Repository navigation
Upgrade to buildkit v0.11-rc3. - #4296
Merged
Merged
Conversation
Signed-off-by: Erik Sipsma <[email protected]>
vito
approved these changes
Jan 4, 2023
vito
left a comment
Contributor
There was a problem hiding this comment.
lgtm! Looking forward to having a shiny new Buildkit.
Comment on lines
+1602
to
+1606
| require.Equal(t, []string{"/mnt/tmp"}, execRes.Container.From.WithDirectory.WithMountedTemp.Mounts) | ||
| require.Equal(t, []string{"/mnt/tmp", "/mnt/dir"}, execRes.Container.From.WithDirectory.WithMountedTemp.WithMountedDirectory.Mounts) | ||
| require.Equal(t, "some-dir\nsome-file\n", execRes.Container.From.WithDirectory.WithMountedTemp.WithMountedDirectory.WithExec.Stdout) | ||
| require.Equal(t, "", execRes.Container.From.WithDirectory.WithMountedTemp.WithMountedDirectory.WithExec.WithoutMount.WithExec.Stdout) | ||
| require.Equal(t, []string{"/mnt/tmp"}, execRes.Container.From.WithDirectory.WithMountedTemp.WithMountedDirectory.WithExec.WithoutMount.Mounts) |
Contributor
There was a problem hiding this comment.
Out of curiosity, how did this fail before? Would it be equally correct to update the assertion?
Contributor
Author
There was a problem hiding this comment.
We got an error when trying to run the exec because we try to run ls on a dir that didn't exist. So just updating the assertion wasn't in the cards I don't think.
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.
Signed-off-by: Erik Sipsma [email protected]
Related to #4293
We should still update to the official v0.11 once it's out, but it's unlikely there will be many more substantial updates needed, so may as well get this out of the way now.
Main changes:
cannot merge resource due to conflicting Schema URL) but only in the dind test for some reason...