Skip to content
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

tests: frontend/dockerfile: update integration tests for windows/wcow (part 4) #5253

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

profnandaa
Copy link
Collaborator

@profnandaa profnandaa commented Aug 13, 2024

We have split the tests in batches across a number of PRs with the same title + suffix (part X)

Additional translated tests for Windows in frontend/dockerfile.

  • testDockerfileDirs
  • testDockerfileInvalidCommand
  • testCopyUnicodePath
  • testHistoryError
  • testTargetsDescribeDefinition
  • testHistoryFinalizeTrace
  • testOutlineDescribeDefinition
  • testCopyRelative
  • testNamedLocalContext
  • testLocalCustomSessionID
  • testNamedOCILayoutContextExport
  • testSourcePolicyWithNamedContext
  • testSourcePolicyWithNamedContext

Partially addresses #4485

Additional translated tests for Windows in frontend/dockerfile.

- [x] `testDockerfileDirs`
- [x] `testDockerfileInvalidCommand`
- [x] `testCopyUnicodePath`
- [x] `testHistoryError`
- [x] `testTargetsDescribeDefinition`
- [x] `testHistoryFinalizeTrace`
- [x] `testOutlineDescribeDefinition`
- [x] `testCopyRelative`
- [x] `testNamedLocalContext`
- [x] `testLocalCustomSessionID`
- [x] `testNamedOCILayoutContextExport`
- [x] `testSourcePolicyWithNamedContext`

Signed-off-by: Anthony Nandaa <[email protected]>
@profnandaa profnandaa marked this pull request as ready for review August 14, 2024 13:15
@profnandaa profnandaa changed the title tests: frontend/dockerfile: more windows/wcow tests (pt.2) tests: frontend/dockerfile: add more integration tests for windows/wcow (part 4) Aug 14, 2024
@profnandaa profnandaa changed the title tests: frontend/dockerfile: add more integration tests for windows/wcow (part 4) tests: frontend/dockerfile: update integration tests for windows/wcow (part 4) Aug 15, 2024
`)
`,
`
FROM nanoserver
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of scope for this PR: Is the FROM scratch not working at all in windows? I think in buildkit we should make it work. It should fail if you need to create image/container on top of FROM scratch stage, but if you just use docker buildx build -o out --target=binaries . then that should work in windows as well just to get the artifacts without base image.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, opened a tracking issue here - #5264

@tonistiigi tonistiigi merged commit 1d44dd6 into moby:master Aug 16, 2024
91 checks passed
@profnandaa profnandaa deleted the tests-4485-part-2 branch August 19, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants