mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-26 21:08:20 +00:00
Merge pull request #2946 from infinito-nexus/fix/test-e2e-playwright/spec-secrets-500-lines
refactor(test-e2e-playwright): keep the spec secrets container check at 500 lines
This commit is contained in:
1 file changed
+2
-3
@@ -495,7 +495,6 @@ def check_container(container: list[str], run: Path) -> None:
|
||||
f"{shared / 'personas'}:/e2e/tests/personas:ro",
|
||||
}
|
||||
mounts = check_ca(container, found, stage)
|
||||
if len(set(mounts)) != len(mounts) or not required <= set(mounts) <= (
|
||||
required | optional
|
||||
):
|
||||
unique = set(mounts)
|
||||
if len(unique) != len(mounts) or not required <= unique <= required | optional:
|
||||
raise SpecSecretsError("a run with spec secrets takes no other mounts")
|
||||
Reference in new issue
Block a user