project-stacker / stacker

Build OCI images natively from a declarative format
https://stackerbuild.io
Apache License 2.0
208 stars 34 forks source link

feat: test directory removals #601

Closed hallyn closed 7 months ago

hallyn commented 8 months ago

Add some tests to make sure when a directory is removed, its contents are not visible later on.

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

hallyn commented 8 months ago

Note, this is expected to fail, since stacker is broken with respect to "rm -rf /existingdir; mkdir /existingdir"

hallyn commented 7 months ago

Replaced by 604