test: move structure.yml to tests and remove cst volume leak

container-structure-test left one anonymous volume per test container.
tests/structure.py runs it with --save and removes the new containers
with their volumes afterwards.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Tobias KaupatandClaude Sonnet 5.5 committed 2026-10-19 17:49:47 +02:00
1 parent c65537c013
commit a6c83de07e
5 files changed
+72 -23

No files matched your search

+2 -2
View File
@@ -32,9 +32,9 @@ tasks:
- task: test:features
test:structure:
desc: Run container-structure-test against the image
desc: Run container-structure-test against the image and remove its containers and volumes
cmds:
- container-structure-test test --image {{.IMAGE}} --config test/structure.yml
- uv run python tests/structure.py
test:compat:
desc: Run the compat tests