mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-10-17 05:11:19 +08:00
ci: disable inherited container healthchecks during acceptance
This commit is contained in:
@@ -90,6 +90,7 @@ def docker_command(config, harness, inputs, output, name):
|
||||
"--name",
|
||||
name,
|
||||
"--pull=never",
|
||||
"--no-healthcheck",
|
||||
"--init",
|
||||
"--user",
|
||||
f"{uid}:{gid}",
|
||||
|
||||
@@ -316,6 +316,7 @@ class QueueAndSandbox(unittest.TestCase):
|
||||
)
|
||||
self.assertIn("--cap-drop=ALL", command)
|
||||
self.assertIn("--read-only", command)
|
||||
self.assertIn("--no-healthcheck", command)
|
||||
self.assertNotIn("--privileged", command)
|
||||
self.assertNotIn("--network=host", command)
|
||||
self.assertNotIn("--ipc=host", command)
|
||||
|
||||
Reference in New Issue
Block a user