Skip to content

Commit 209c04e

Browse files
committed
run unittests in privileged docker container
The code coverage tests already run in a privileged container, so this does not affect our security posture. Additionally, it will unblock vsock unit tests in the vhost-user-vsock crate, see also rust-vmm/vhost-device#706 and rust-vmm/vhost-device#728 Signed-off-by: Patrick Roy <[email protected]>
1 parent cdb4a2d commit 209c04e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.buildkite/test_description.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,21 @@
2828
"x86_64",
2929
"aarch64",
3030
"riscv64"
31-
]
31+
],
32+
"docker_plugin": {
33+
"privileged": true
34+
}
3235
},
3336
{
3437
"test_name": "unittests-musl",
3538
"command": "cargo test --all-features --workspace --target {target_platform}-unknown-linux-musl",
3639
"platform": [
3740
"x86_64",
3841
"aarch64"
39-
]
42+
],
43+
"docker_plugin": {
44+
"privileged": true
45+
}
4046
},
4147
{
4248
"test_name": "clippy",

0 commit comments

Comments
 (0)